-
Notifications
You must be signed in to change notification settings - Fork 0
Possible incompatibility between antidote-fs and antidote official docker image #1
Comments
Hi Guillaume, thanks for reporting this. |
Thank you Paolo, I confirm that the other docker image does work with antidote-fs (ie I can now list, create, edit, delete on the mount). |
@pviotti I updated the Javascript client and removed the CRDTs that are no longer supported by Antidote. You can find a short changelog here: https://github.com/SyncFree/antidote_ts_client/releases/tag/v0.2.0 |
Thanks. I implemented the changes and pushed them into the |
Thanks Paolo.
I'm not sure a counter is the right approach. Assume creating a link is a transaction that both adds the link to a map or set, and increments the counter. Then, if two replicas concurrently add the same link, you will have only one link, but the counter is incremented by 2. Similar anomalies can happen if you have a concurrent add and delete of the same link.
You may be better off asking the link map/set for its element count.
Marc
… Le 17 avr. 2018 à 10:27, Paolo ***@***.***> a écrit :
Thanks. I implemented the changes and pushed them into the dev branch.
The rrmap change went smooth, whereas the removal of the integer CRDT might create some issues. I was using it for counting hard links <https://github.com/SyncFree/antidote-fs/blob/master/src/antidote-fs.js#L803>, invoking both set and increment operations. Now I temporarily replaced it with a register, which only supports set operations with LWW semantics, which may create some weird behaviors in case of concurrent removals and hard linking in distributed settings.
It passes the tests <https://travis-ci.org/SyncFree/antidote-fs/builds/367529267>, but at the moment the test coverage for distributed settings is quite limited.
Maybe the counter would be a better replacement in this case -- this needs some thinking.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGWtn_OlNifBV0Yay2jb2ASbEMX55zmpks5tpadcgaJpZM4TWBTU>.
|
Yep, that's exactly why I wrote that using counters requires careful thinking :)
The |
Hi,
I am using antidote-fs from git revision c08e5d1 and the official antidote from docker image 480c4f761f61. Antidote's port is mapped to 8087 on the host. When I run antidote-fs, I get the following errors. Listing the mount directory stalls and never completes. Do you have a preliminary idea of what is wrong with this setup ?
Thanks
The text was updated successfully, but these errors were encountered: