Updating a remote tree for a client synchronization service
AssigneeDropbox, Inc.
InventorsRobert Ying, Nipunn Koorapati, Gautam Gupta
Life of this patent
Estimating the term…
Abstract
The disclosed technology relates to a system configured to receive, from a content management system, an initial portion of a log of operations for a target namespace, build a subtree for the target namespace based on the initial portion of the log of operations, and mount the subtree for the target namespace at a mount location of a remote tree representing a server state for content items stored on the content management system.
Claims19
A computer-implemented method comprising:
- receiving, at a client device, a mount notification for mounting a target namespace within an existing namespace represented in a remote tree, wherein the remote tree represents a server state for content items stored on a content management system, and wherein content items of the target namespace are unknown upon receiving the mount notification;
- preventing a mounting of the target namespace before a determination of the content items of the target namespace;
- receiving, from the content management system, an incoming prefix of a log of operations for the target namespace, wherein the log of operations provides operations data with respect to the content items of the target namespace;
- building a subtree for the target namespace, triggered by the receiving of the incoming prefix, by incrementally processing a current state after each operation of the log of operations and determining the content items of the target namespace;
- after building the subtree by completing the incremental processing of the current state after each operation of the log of operations, validating the subtree does not violate a set of tree constraints associated with the remote tree;
- and
- mounting the subtree for the target namespace at a mount location of the remote tree.
A non-transitory computer readable medium comprising instructions, the instructions, when executed by a computing system, cause the computing system to:
- prevent a mounting of a target namespace within an existing namespace, represented in a remote tree, before a determination of content items of the target namespace, wherein the remote tree represents a server state for content items stored on a content management system;
- receive, from the content management system, an initial portion of a log of operations for the target namespace, wherein the log of operations serves as operations data with respect to the content items of the target namespace;
- build a subtree for the target namespace based on the initial portion of the log of operations by incrementally processing a current state after each operation in the log of operations and determining the content items of the target namespace;
- after building the subtree by completing the incremental processing of the current state after each operation in the initial portion of the log of operations, validate the subtree does not violate a set of tree constraints associated with the remote tree;
- and
- mount the subtree for the target namespace at a mount location of the remote tree representing the server state for content items stored on the content management system.
A system comprising:
- one or more processors;
- and
- a non-transitory computer-readable medium storing instructions that, when executed by the one or more processors, cause the one or more processors to:
- receive, at a client device, a mount notification for mounting a target namespace within an existing namespace represented in a remote tree, wherein the remote tree represents a server state for content items stored on a content management system, and wherein content items of the target namespace are unknown upon receiving the mount notification;
- prevent a mounting of the target namespace before a determination of the content items of the target namespace;
- receive, from the content management system, an incoming prefix and a subsequent log of operations for the target namespace, wherein the log of operations serves as operations data with respect to content items of the target namespace;
- build a subtree for the target namespace, triggered by the receiving of the incoming prefix, by incrementally processing a current state after each operation in the log of operations, and determine the content items of the target namespace;
- and
- after building the subtree by incrementally processing the current state after each operation in the incoming prefix of the log of operations, validate the subtree does not violate a set of tree constraints with the remote tree;
- and
- mount the subtree for the target namespace at a mount location of the remote tree representing the server state for the content items stored on the content management system.
Dependencies are inferred from the claim text.