Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-30941

Refactor: make "unlocked" functions in CheckpointManager to take 'Lock&' in input

    XMLWordPrintable

Details

    Description

      It is good practice that an "unlocked" function takes a reference to the required lock in input. That doesn't completely resolve concurrent access issues (e.g., that doesn't force the user to acquire the "right" lock), but it is a good reminder for callers.

      Attachments

        Activity

          People

            owend Daniel Owen
            paolo.cocchi Paolo Cocchi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty