Conflict resolution, retry condition management, and handling of problem files for the synchronization client to a cloud-based platform
First Claim
1. A processor-implemented method of resolving conflicts in a synchronization system, comprising:
- mapping, by a synchronization server, each of a plurality of different conflict resolvers to a different plurality of attributes, each plurality of attributes comprising each of an event type attribute, a file system attribute, and a failure reason attribute;
detecting, by the synchronization server, a conflict when executing, by the synchronization server, a sync event on a local file system on a client device and a cloud server file system, wherein the conflict is detected based on a failure when executing the sync event;
responsive to detecting the conflict, identifying, by the synchronization server, a plurality of attributes associated with the sync event, wherein the plurality of attributes associated with the sync event comprises each of a file system identifier for the sync event, an event type associated with the sync event, and a failure reason associated with the sync event; and
taking an action on the local file system on a client device or the cloud server file system to resolve the conflict, wherein the action is associated with a conflict resolver selected from the plurality of conflict resolvers based on the plurality of attributes mapped to the selected conflict resolver matching the identified set of attributes associated with the sync event and wherein the action includes modifying one of the local file system on the client device or the cloud server file system, associating a retry condition to the sync event, or a combination thereof.
3 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure include systems and methods of conflict resolution, retry condition management and/or handling of problem files in the synchronization architecture of the cloud-based platform. One embodiment of the disclosed technology detects conflicts between incompatible changes made on opposite file systems based on file system sync results when executing a sync event on the file system. In one embodiment, the disclosed technology applies self-healing strategies when unexpected failures occur. For example, if a synchronization action fails repeatedly, an external action (e.g., from user, file system, etc.) can return the system back to a consistent state again.
-
Citations
19 Claims
-
1. A processor-implemented method of resolving conflicts in a synchronization system, comprising:
-
mapping, by a synchronization server, each of a plurality of different conflict resolvers to a different plurality of attributes, each plurality of attributes comprising each of an event type attribute, a file system attribute, and a failure reason attribute; detecting, by the synchronization server, a conflict when executing, by the synchronization server, a sync event on a local file system on a client device and a cloud server file system, wherein the conflict is detected based on a failure when executing the sync event; responsive to detecting the conflict, identifying, by the synchronization server, a plurality of attributes associated with the sync event, wherein the plurality of attributes associated with the sync event comprises each of a file system identifier for the sync event, an event type associated with the sync event, and a failure reason associated with the sync event; and taking an action on the local file system on a client device or the cloud server file system to resolve the conflict, wherein the action is associated with a conflict resolver selected from the plurality of conflict resolvers based on the plurality of attributes mapped to the selected conflict resolver matching the identified set of attributes associated with the sync event and wherein the action includes modifying one of the local file system on the client device or the cloud server file system, associating a retry condition to the sync event, or a combination thereof. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A synchronization system with conflict resolution, comprising:
-
a synchronization component configured to execute sync events; a plurality of conflict resolvers, wherein the plurality of conflict resolvers are different and mapped to different corresponding plurality of sync event attributes, wherein each conflict resolver is configured to resolve a conflict identified by a matching plurality of sync event attributes associated with a sync event by making changes to a file system, wherein the plurality of sync event attributes comprises each of a file system identifier of the file system, an event type associated with the sync event, and a failure reason associated with the sync event; and a sync execution controller to update the sync event to include a retry condition. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A processor-implemented method of conflict resolution, comprising:
-
mapping, by a synchronization server, each of a plurality of different conflict resolvers to a different plurality of attributes, each plurality of attributes comprising each of an event type attribute, a file system attribute, and a failure reason attribute; executing, by the synchronization server, a sync event on a local file system on a client device and a cloud server file system; detecting, by the synchronization server, a conflict when executing the sync event on the local file system on a client device and the cloud server file system; responsive to detecting the conflict, identifying, by the synchronization server, a plurality of attributes associated with the sync event, wherein the plurality of attributes associated with the sync event comprises each of a file system identifier for the sync event, an event type associated with the sync event, and a failure reason associated with the sync event; taking an action associated with a conflict resolver selected from the plurality of conflict resolvers based on the plurality of attributes mapped to the selected conflict resolver matching the identified set of attributes associated with the sync event, wherein the action includes restoring the local file system on a client device and the cloud server file system to a consistent state; associating a retry condition with the sync event when the conflict is detected; monitoring the retry condition associated with the sync event; and re-executing the sync event when the retry condition associated with the sync event is satisfied.
-
-
15. A synchronization system with conflict resolution, comprising:
-
a memory; a processor disposed in communication with the memory and configured to execute a plurality of instructions stored in the memory to; map each of a plurality of different conflict resolvers to a different plurality of attributes, each plurality of attributes comprising each of an event type attribute, a file system attribute, and a failure reason attribute; detect that a synchronization operation failed due to a conflict, wherein the conflict is caused by incompatible changes made to a local file system and a cloud server file system; responsive to detecting the conflict, identify a plurality of attributes associated with the sync event, wherein the plurality of attributes associated with the sync event comprises each of a file system identifier for the sync event, an event type associated with the sync event, and a failure reason associated with the sync event; and resolve the conflict by taking at least one action associated with a conflict resolver selected from the plurality of conflict resolvers based on the plurality of attributes mapped to the selected conflict resolver matching the identified set of attributes associated with the synchronization operation failure, wherein the at least one action that is taken depends on the identified set of attributes associated with the synchronization operation failure, wherein when the incompatible changes causing the conflict include creation of a file having the same name on both the local file system and the cloud server file system, the reason for the synchronization operation failure is identified as item name in use, and wherein the at least one action taken to resolve the conflict includes renaming the file to have a new name both on the local file system and the cloud server file system. - View Dependent Claims (16, 17, 18, 19)
-
Specification