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

Set CB_DEVELOPMENT_ASSERTS to Off

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • 7.1.0
    • 7.1.0
    • couchbase-bucket
    • None
    • KV 2022-Feb

    Description

      We set the CB_DEVELOPMENT_ASSERTS flag ON to fire development only assertions. In particular this ensure things such as the vBucket document counter and vBucket dirtyQueueSize do not end up in incorrect states.

      When we branch master (Neo) to its own branch we need to set the CB_DEVELOPMENT_ASSERTS flag in tlm/CmakeLists.txt to Off. This ensures that any development assertions will not fire in release/release candidate builds. We want this flag to be set to On until this point though, as the assertions can help identify issues that we may not otherwise see.

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              drigby Dave Rigby (Inactive)
              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