Skip to content

Instantly share code, notes, and snippets.

@victorbrndls
Created February 7, 2022 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorbrndls/ec869bfdf0554bc343a682e7d6ad3638 to your computer and use it in GitHub Desktop.
Save victorbrndls/ec869bfdf0554bc343a682e7d6ad3638 to your computer and use it in GitHub Desktop.
public void fillWritePipeline() {
...
while (canAddToWritePipeline()) {
MutationBatch batch = localStore.getNextMutationBatch(lastBatchIdRetrieved);
...
addToWritePipeline(batch);
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment