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

Race condition in index-batch processing #239

Closed
jleandroperez opened this issue Mar 24, 2014 · 0 comments
Closed

Race condition in index-batch processing #239

jleandroperez opened this issue Mar 24, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@jleandroperez
Copy link
Contributor

Scenario:

  1. An odd number of objects is sync'ed (+50), after login.
  2. The index is expected to be processed in batch (50 changes per batch).

Note that those objects that cannot fill an entire batch (less than 50 changes) should be processed as long as the last pending change arrives.

Found a race condition in the batch-handling logic, that will cause groups of less than 50 changes not to be processed. Let's get it fixed.

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

No branches or pull requests

1 participant