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

Investigate the CheckpointManager::checkpointList to understand if the list is never empty by definition

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 6.5.0
    • None
    • couchbase-bucket
    • None

    Description

      At first look:
      1) the first checkpoint is created in CheckpointManager::CheckpointManager
      2) checkpoints can be removed only when they are closed and unreferenced
      3) the open checkpoint is closed only when a new open one is created

      All the above implies that the CheckpointManager::checkpointList can never be empty.
      We need to verify that, as it would allow some code refactor/simplification.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              paolo.cocchi Paolo Cocchi
              paolo.cocchi Paolo Cocchi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty