• Guy Benoish's avatar
    Stream: Handle streamID-related edge cases · 89682d96
    Guy Benoish authored
    This commit solves several edge cases that are related to
    exhausting the streamID limits: We should correctly calculate
    the succeeding streamID instead of blindly incrementing 'seq'
    This affects both XREAD and XADD.
    
    Other (unrelated) changes:
    Reply with a better error message when trying to add an entry
    to a stream that has exhausted last_id
    89682d96
stream.h 5.83 KB