When looking to JOlivers "EventStore", I see that StreamRevision and CommitSequence are the same if you only commit 1 event. And it is the StreamRevision that is used to select events with.
Suppose I first created an aggregate which comitted 1 event. And after that comitted 10 events which would make my SQL database table look like this (simplified):
Revision Items Sequence
1 1 1
11 10 2
I have 2 question that derive from this:
Is this the difference between StreamRevision and CommitSequence?
The store exposes a "GetFrom" method that takes a "minRevision" and a "maxRevision". With the data from above, how does this work if I request minRevision=4 and maxRevision=8 ? Shouldn't it have been "minSequence" and "maxSequence" instead?
Thanks.
Werner