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

item_count in warmup.cc is not Atomic/thread safe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • 3.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      item_count is not thread safe as well.

      Warmup::estimateDatabaseItemCount in warmup.cc increments the estimateTime by shard number of threads.
      However, this is not thread safe. Since this is an estimate, I am setting issue priority at trivial.

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            venu Venu Uppalapati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty