×

Processing mutations for a remote database

  • US 10,545,948 B2
  • Filed: 10/30/2015
  • Issued: 01/28/2020
  • Est. Priority Date: 06/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by one or more data processing apparatus, the method comprising:

  • accessing a log of database mutations stored on a client device, the log of database mutations indicating changes previously made to a client version of a database stored on the client device, and each database mutation specifying;

    an entity included in the database;

    an operation for the entity; and

    a client version number for the entity;

    identifying, in the log of database mutations, two or more database mutations that each specify a same client version number for a same entity, where a first database mutation of the two or more database mutations occurred before a second database mutation of the two or more database mutations;

    determining, based on a conflict resolution policy and the operations specified by the first database mutation and the second database mutation, that the first database mutation of the two or more database mutations would not resolve in favor of the client device while the second database mutation of the two or more database mutations resolve in favor of the server over the client device; and

    in response to determining, based on the conflict resolution policy and the operations specified by the first database mutation and the second database mutation, that the first database mutation of the two or more database mutations would not resolve in favor of the client device while the second database mutation of the two or more database mutations resolve in favor of the server over the client device, collapsing the two or more database mutations into a single database mutation.

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