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

strange paging behavior #80

Closed
Antares007 opened this Issue Oct 28, 2011 · 3 comments

Comments

Projects
None yet
2 participants
@Antares007

Sql Store:

SELECT COUNT(*)
FROM [Commits]
WHERE CommitStamp>'2011-10-20'
RESULT IS: 10930

EventStore 3.0.11293.43:
var store = Wireup.Init()
.UsingSqlPersistence("Sql")
.InitializeStorageEngine()
.UsingJsonSerialization()
.Build();

        var enumerable = store.Advanced.GetFrom(new DateTime(2011, 10, 20)).ToList();
        Console.WriteLine(enumerable.Count);

RESULT IS: 614

Problem Is 614 != 10930

@joliver

This comment has been minimized.

Show comment
Hide comment
@joliver

joliver Oct 28, 2011

Contributor

Can you run the following select and email me the list (I'll send you my email separately):

SELECT StreamId, StreamRevision, Items,
CommitId, CommitSequence, CommitStamp,
Dispatched,
0x AS Headers, 0x AS Payload
FROM Commits;

Contributor

joliver commented Oct 28, 2011

Can you run the following select and email me the list (I'll send you my email separately):

SELECT StreamId, StreamRevision, Items,
CommitId, CommitSequence, CommitStamp,
Dispatched,
0x AS Headers, 0x AS Payload
FROM Commits;

@Antares007

This comment has been minimized.

Show comment
Hide comment
@Antares007

Antares007 Oct 28, 2011

shure, here is my commits https://docs.google.com/leaf?id=0B7JuZ-ZQhNLgNTM3MjlkMzMtNTI0MC00MjlkLTlhODctNjY5ODU4M2E5OTgz&hl=en_US.

since previous post i'll added more commits to the store

shure, here is my commits https://docs.google.com/leaf?id=0B7JuZ-ZQhNLgNTM3MjlkMzMtNTI0MC00MjlkLTlhODctNjY5ODU4M2E5OTgz&hl=en_US.

since previous post i'll added more commits to the store

joliver pushed a commit that referenced this issue Nov 1, 2011

Oliver, Jonathan
All dialects which support paging now properly page over GetFrom(Date…
…Time) as well as GetUndispatchedCommits() calls--closes issue #80;
@joliver

This comment has been minimized.

Show comment
Hide comment
@joliver

joliver Nov 1, 2011

Contributor

Issue resolved.

Contributor

joliver commented Nov 1, 2011

Issue resolved.

@joliver joliver closed this Nov 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment