commit | 0f77932b41d66ae33ae95363a8c417dc30403fdb | [log] [tgz] |
---|---|---|
author | Raja Daoud <rdaoud@google.com> | Fri Jul 31 17:16:21 2015 -0700 |
committer | Raja Daoud <rdaoud@google.com> | Fri Jul 31 17:16:24 2015 -0700 |
tree | 1220686252d50bdcda12b3776349ef0dc45c3621 | |
parent | 92e1881d5e33ca2c7100f746ec886647aaba2834 [diff] |
syncbase/vsync: eager sync watcher Make the sync watcher more eager to consume updates from databases by continuing to process updates as long at it finds some. Remain fair by doing a round-robin across databases, taking one batch update from each database at a time. Continue doing passes across the databases until all of them have no further updates pending. Change-Id: Iaf49be67d5400bd7d57cd0ec954c4da29d3d2cab