Skip to content

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

@jmartori

Description

@jmartori

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.

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