Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statestore prototype #14079

Merged
merged 6 commits into from
Nov 26, 2019
Merged

Commits on Nov 21, 2019

  1. State store prototype

    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    9c5bfe2 View commit details
    Browse the repository at this point in the history
  2. Add statestore close and deactivate support

    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    6b1b9d6 View commit details
    Browse the repository at this point in the history
  3. Introduce connector and store sessions

    Connector directly wraps a registry and gives access to many stores.
    Each store accessed will create a session. The registry.Store will be
    closed once all sessions are closed.
    
    Go routines can create pending update operations that will be applied
    asynchronously later to the persistent registry store. At the same time
    a go routine can close a store instance if the store is not needed
    anymore. So to keep the store alive for as long as is required to
    finally sync the in memory and on-disk state, we introduce the concept
    of store sessions. A session is active for as long as the Store instance
    is alive or there are any pending updates in the system. The underlying
    persistent store can be closed only once all sessions for said store are
    have been finished.
    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    51aca25 View commit details
    Browse the repository at this point in the history
  4. minor cleanups

    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    e9e5169 View commit details
    Browse the repository at this point in the history
  5. review

    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    00c664e View commit details
    Browse the repository at this point in the history
  6. vendor missing dependency

    urso committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    773556b View commit details
    Browse the repository at this point in the history