Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronisation doesn't works proper in Demo3 example #36

Closed
chicoxyzzy opened this issue Nov 6, 2014 · 6 comments
Closed

Synchronisation doesn't works proper in Demo3 example #36

chicoxyzzy opened this issue Nov 6, 2014 · 6 comments

Comments

@chicoxyzzy
Copy link

http://ppyr.us:8001/demo3/index.html

Steps to reproduce bug:

  • select all Availability items in schedules being online
  • toggle both schedules to offline
  • select first two items on left side to Consistency
  • select last two items on right side to Partition tolerance
  • toggle right schedule online
  • toggle left schedule online

Now data is inconsistent.
The order of last two steps is important.

@gritzko
Copy link
Owner

gritzko commented Nov 7, 2014

Reproduced. Thanks.

@gritzko
Copy link
Owner

gritzko commented Nov 18, 2014

Sorry for the delay. The issue is related to .init event relay optimizations and it caused a little bit of refactoring.

@jimthedev
Copy link

I can't reproduce this. Is it still an issue?

@gritzko
Copy link
Owner

gritzko commented Jan 7, 2015

If it does not reproduce then it is another bug. Kidding.
Sorry, there are some entangled issues and it created an avalanche effect.
Will be fixed in 0.4, with the new version vector scheme.

@jimthedev
Copy link

Cool! Thank you @gritzko. I am fascinated by this project.

@abalandin
Copy link
Contributor

fixed in #45
Use someSyncable.onStateReady(callback); instead of someSyncable.on('.init', callback); to be sure the syncable-object has some state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants