Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3273

ColdStandby make sync start and end timestamp updates atomic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.16, 1.3.5, 1.4
    • tarmk-standby
    • None
    • Patch

    Description

      OAK-3113 introduced two fields in the ColdStandby MBean: SyncStartTimestamp and SyncEndTimestamp. This is much more useful than the old SecondsSinceLastSuccess, yet, there are situations in which it's hard to interpret them since they are updated independently:

      • it's impossible to correlate the start with the end
      • in case of fail, the start still reflects the failed cycle

      It would be even better if the two would be updated atomically, to reflect the start and end of the last successful cycle.

      Attachments

        1. OAK-3273.patch
          2 kB
          Valentin Olteanu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              volteanu Valentin Olteanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: