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

Set CB_DEVELOPMENT_ASSERTS ON/OFF

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.5.0
    • couchbase-bucket
    • None
    • KV-Engine Mad-Hatter GA

    Description

      We should 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 (Mad-Hatter) 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

          For Gerrit Dashboard: MB-31797
          # Subject Branch Project Status CR V

          Activity

            People

              ben.huddleston Ben Huddleston
              ben.huddleston Ben Huddleston
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty