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

Comparator should be greater or lesser than may have caused the Issue #9 #12

Open
jmartori opened this issue Oct 19, 2015 · 0 comments
Open

Comments

@jmartori
Copy link
Contributor

In peersim.example.replicationProtocols.clients file RandomCounterOperationGenerator.java function getNextSetOfOperations line if(DCCommonState.getTime() > this.nextGenerationEvent) return ops;

we are not sure if the comparation operator should be > or < and that may be the cause for the extrange behaviour in Issue #9.

Its a minor issue because it has been fixed with a work around by only checking the time in hasMoreOperations,
and as long as all the operations are upload in the first run there is no problem. But as soon as the number of operations grow and they have to be processed in more that one run, then this becomes important.

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

1 participant