Skip to content
  • epriestley's avatar
    When updating a workboard with "R", send the client visible set with version numbers · 8669c3c0
    epriestley authored
    Summary:
    Depends on D20652. Ref T4900. When the user presses "R", send a list of cards currently visible on the client and their version numbers.
    
    On the server:
    
      - Compare the client verisons to the server versions so we can skip updates for objects which have not changed. (For now, the client version is always "1" and the server version is always "2", so this doesn't do anything meaningful, and every card is always updated.)
      - Compare the client visible set to the server visible set and "remove" any cards which have been removed from the board.
    
    I believe this means that "R" always puts the board into the right state (except for some issues with client orderings not being fully handled yet). It's not tremendously efficient, but we can make versioning better (using the largest object transaction ID) to improve that and loading the page in the first place doesn't take all that long so even sending down the full visibl...
    8669c3c0