Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Separate get_current_token into two. #8113

Merged
merged 3 commits into from
Aug 19, 2020
Merged

Commits on Aug 18, 2020

  1. Separate get_current_token into two.

    The function is used for two purposes: 1) for subscribers of streams to
    get a token they can use to get further updates with, and 2) for
    replication to track position of the writers of the stream.
    
    For streams with a single writer the two scenarios produce the same
    result, however the situation becomes complicated for streams with
    multiple writers. The current `MultiWriterIdGenerator` does not
    correctly handle the first case (which is not an issue as its only used
    for the `caches` stream which nothing subscribes to outside of
    replication).
    erikjohnston committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    a9818bd View commit details
    Browse the repository at this point in the history
  2. Newsfile

    erikjohnston committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    c1ba2ea View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2020

  1. Fix up docstring comment

    erikjohnston committed Aug 19, 2020
    Configuration menu
    Copy the full SHA
    3af1dce View commit details
    Browse the repository at this point in the history