Initial cut

This commit is contained in:
Erik Johnston 2016-02-15 17:10:40 +00:00
parent 9e7900da1e
commit e5999bfb1a
16 changed files with 1004 additions and 1207 deletions

View file

@ -130,9 +130,11 @@ class StreamIdGenerator(object):
return manager()
def get_max_token(self, store):
def get_max_token(self, *args):
"""Returns the maximum stream id such that all stream ids less than or
equal to it have been successfully persisted.
Used to take a DataStore param, which is no longer needed.
"""
with self._lock:
if self._unfinished_ids: