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

Set a default value for bolt_timeout within scorch

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.1.0
    • fts
    • None
    • 1

    Description

      etcd-io/bbolt advertises that it acquires a file lock on the data file so multiple processes cannot open the same database at the same time.

      But as highlighted in CBSE-11519, the goroutine traces show that there's a situation where the janitor is stuck trying to acquire bolt's file lock indefinitely.

      This was also flagged by a community user here - https://github.com/blevesearch/bleve/issues/1491

      We've gone ahead and introduced a way to set a timeout provided by bbolt to not wait indefinitely with this change .. https://github.com/blevesearch/bleve/pull/1553

      This change is available since couchbase-server 7.0 (I forget the exact build). This timeout setting can be introduced by making a change to the index definition.

      Perhaps it might prove helpful to set a default value for this setting.

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            abhinav Abhi Dangeti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty