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

Clear/Ignore indexer compaction settings when upgrading to 6.x EE

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      On 5.0.0, if you have incorrectly set your indexer settings (where the indexer compaction interval has an end time but the compaction setting to abort when exceeding this is false), this results in the log warning

      Compaction setting misconfigured. End time is specified while not allowing compaction to abort.
      

      to get notified in the UI logs (which looks scary to users). This is checked by the compaction manager.
      If you then upgrade to 6.0.0 or 6.0.1, this log message will continue to be regularly posted, but the settings for this have been removed from the web console UI so you cannot fix this without using the curl command:

      curl -v -X POST http://127.0.0.1:9102/settings -u Administrator:password -d '{"indexer.settings.compaction.interval":"00:00,00:00"}'
      

      to reset the interval time.

      To reproduce:

      1. On 5.0.x set the indexer compaction settings so that you have an end time in the interval but the setting to abort if this interval is exceeded is false.
      2. You should see the error appear in the logs.
      3. Upgrade to 6.0.x.
      4. The error should still be seen, but the setting to change these settings in the web console UI is gone.

      Attachments

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

        Activity

          People

            varun.velamuri Varun Velamuri
            christopher.farman christopher farman (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