remote-storage icon indicating copy to clipboard operation
remote-storage copied to clipboard

Conflict Resolution Strategy

Open abakermi opened this issue 1 year ago • 1 comments

The RedisService currently lacks a mechanism to handle conflicts that arise when concurrent operations attempt to update the same key with different values. We can resolve that based on timestamp ,the approach involves modifying the set method to include a timestamp and compare it with the timestamp of the current data in Redis. If a conflict is detected (the existing data is newer), the update will be rejected. This enhancement is crucial for maintaining data integrity in scenarios with concurrent data operations.

abakermi avatar Jan 31 '24 12:01 abakermi