Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15264

DistributedConfigurationStorage violates MetaStorageManager watch contract

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha3
    • None

    Description

      There are a few issues with the DistributedConfigurationStorage and related classes:

      • MetaStorageManager#DISTRIBUTED_PREFIX is located in the wrong class;
      • MetaStorageManager#APPLIED_REV constant should be changed;
      • DistributedConfigurationStorage#MASTER_KEY is confused with APPLIED_REV in some places, so DistributedConfigurationStorage#readAll returns god knows what;
      • watch callback in DistributedConfigurationStorage#registerConfigurationListener returns from onUpdate before notifications are processed. DistributedConfigurationStorage#notifyApplied doesn't work properly as well.

       

      Attachments

        Issue Links

          Activity

            People

              ibessonov Ivan Bessonov
              ibessonov Ivan Bessonov
              Mirza Aliev Mirza Aliev
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 50m
                  50m