~simeon-blanc/+junk/sync_opti_offset

Viewing all changes in revision 622.

  • Committer: simeon.blanc at msf
  • Date: 2016-01-06 13:46:02 UTC
  • Revision ID: simeon.blanc@geneva.msf.org-20160106134602-h3kqad2hjftn52df
SP-224 [IMP] Add a filter on the rows to keep the offset as low as possible

This commit allow an instance to fetch the updates based on a sequence number
(the last sequence number already fetched by the instance) and an offset (as
before) or an update id.

This functionnality relies on the fact the updates are sorted according to their
 to their ID first, and then their sequence number. According to the code, this
 fact might be wrong in production.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: