×

Race condition handling in a system which incrementally updates clients with events that occurred in a cloud-based collaboration platform

  • US 9,396,245 B2
  • Filed: 01/02/2014
  • Issued: 07/19/2016
  • Est. Priority Date: 01/02/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for resolving race conditions when updating remote clients with what occurred in a cloud-based platform, the method comprising:

  • in response to one or more events received which indicates a modification to at least one item, comparing a sequence identifier of the at least one item in the one or more events with a current sequence identifier of the at least one item, wherein the sequence identifier of the at least one item is numeric and monotonically increases as a state of the at least one item changes,wherein if the at least one item is a folder and the modification results in the folder entering or leaving a synchronization scope, performing a scan of a tree structure of synchronized folders, wherein the scan includes information regarding (i) all items deleted within a select time period of the scan, or (ii) all unsynchronized folders which are located inside a synchronized folder;

    if the sequence identifier in the one or more events received is larger than the current sequence identifier of the at least one item, determining a difference between a state of the at least one item as represented in the one or more events and a current state of the at least one item; and

    based on the difference, generating at least one synchronization step to update the current state of the at least one item to the state of the at least one item as represented in the one or more events.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×