×

System and method for performing shard migration to support functions of a cloud-based service

  • US 9,792,320 B2
  • Filed: 07/08/2013
  • Issued: 10/17/2017
  • Est. Priority Date: 07/06/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of database partitioning within a collaborative environment hosted by a cloud-based platform, the method comprising:

  • partitioning a database into multiple shard databases based upon ownership of one or more objects stored in the database, wherein the one or more objects are stored within a given one of the multiple shard databases based upon an association of the one or more objects with a user identification;

    mapping within a mapping database, a first user identification to a first shard database and a second user identification to a second shard database, wherein the mapping database, the first shard database, and the second shard database are associated with the cloud-based platform that supports collaboration between a first user having the first user identification and a second user having the second user identification;

    providing, via the cloud-based platform, to the second user, access to a collaboration folder that is owned by the first user, wherein the collaboration folder is located in the first shard database, wherein the collaboration folder is identifiable by a parent folder and a path that indicates a location of the collaboration ion folder within a folder tree;

    receiving a request to transfer the association of the one or more objects and the collaboration folder from the first user identification to the second user identification;

    migrating ownership of the one or more objects and the collaboration folder from the first shard database of the cloud-based platform to the second shard database of the cloud-based platform,wherein the migrating includes migrating the collaboration folder and one or more folders stored within the collaboration folder;

    inserting an access lock on the one or more objects and the collaboration folder in the mapping database, the first shard database, and the second shard database;

    updating a status of the one or more objects and a status of the collaboration folder in the mapping database to point to the second shard database;

    moving the one or more objects and the collaboration folder from the first shard database associated with the first user identification to the second shard database associated with the second user identification;

    deleting the one or more objects and the collaboration folder from the first shard database; and

    releasing the access lock on the one or more objects and the collaboration folder in the second shard database, the mapping database, and the first shard database.

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