Skip to content

Synchronization issue in using this library  #101

Open
@Yardentexel

Description

@Yardentexel

Maybe I am missing something

but in using this library I am creating a sync issue

Thread = T

in the DB:
Class Foo {
int x = 1;
int y = 1;
}

T1 get Foo (x=1, y=1)
T2 get Foo and updates y=2 (x=1, y=2)
T1 update Foo to x=5 (x=5, y=1)

and partial update is not an option because there is not access to the Operation/Path/Value we update

for a server with multiple replica set i need to create a distributed lock in order to avoid sync issue

am i missing any thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions