Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14405 Local persistent key-value storage (Vault)
  3. IGNITE-14956

Implement and check scenarios for startup configuration

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 3.0.0-alpha3
    • None

    Description

      Let's rename Vault's  bootstrapped method to bootstrappedWithPDS or rename to initialized() and change the logic in the following way:

      • returns true if was deployed atop PDS with some configuration included;
      • returns true if it was bootstrapped with user bootstrap configuration;
      • returns true if there was no user bootstrap configuration and the default one was used.

      Seems that the second option is better.

      UPD:
      After talking about initial configuration, we made a decision to change the term a bootstrap configuration to a startup configuration.
      The startup configuration will be able to be provided each time when the node starts.
      When the startup configuration was presented, it overwrites stored state if it existed (restart scenario), otherwise it applied with defaults (first start).

      Attachments

        Issue Links

          Activity

            People

              v.pyatkov Vladislav Pyatkov
              apolovtcev Aleksandr Polovtsev
              Alexander Lapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m