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

[CDC]: Trying to set value using cbepctl is getting reverted immediately

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • 7.2.0
    • couchbase-bucket
    • 7.2.0-5318

    Description

      Build: 7.2.0-5318

      Steps:

      • Single node cluster
      • Create magma bucket with cdc seconds and bytes=0
      • Trying enabling 'history_retention_seconds' to 10 using cbepctl (Command succeeds)

      Observing the above set value gets reverted back to zero immediately as per the logs / stats

      root@sa1720-deb10:~# /opt/couchbase/bin/cbepctl localhost:11210 -u Administrator -p password -b bucket-0 set flush_param history_retention_seconds 10
      setting param: history_retention_seconds 10
      set history_retention_seconds to 10
      root@sa1720-deb10:~# /opt/couchbase/bin/cbstats localhost:11210 -u Administrator -p password -b bucket-0 all | grep seconds
       ep_history_retention_seconds:                              0

      Logs from memcached.log.000000.txt,

      memcached.log.000000.txt:2023-04-26T10:04:36.007878-07:00 INFO [(bucket-0) magma_0]Magma::SetHistoryRetentionTime changing history time window from 0 to 10
      memcached.log.000000.txt:2023-04-26T10:04:36.015169-07:00 INFO [(bucket-0) magma_1]Magma::SetHistoryRetentionTime changing history time window from 0 to 10
      memcached.log.000000.txt:2023-04-26T10:04:36.020300-07:00 INFO [(bucket-0) magma_2]Magma::SetHistoryRetentionTime changing history time window from 0 to 10
      memcached.log.000000.txt:2023-04-26T10:04:36.025026-07:00 INFO [(bucket-0) magma_3]Magma::SetHistoryRetentionTime changing history time window from 0 to 10
      memcached.log.000000.txt:2023-04-26T10:04:39.776365-07:00 INFO [(bucket-0) magma_0]Magma::SetHistoryRetentionTime changing history time window from 10 to 0
      memcached.log.000000.txt:2023-04-26T10:04:39.782101-07:00 INFO [(bucket-0) magma_1]Magma::SetHistoryRetentionTime changing history time window from 10 to 0
      memcached.log.000000.txt:2023-04-26T10:04:39.787229-07:00 INFO [(bucket-0) magma_2]Magma::SetHistoryRetentionTime changing history time window from 10 to 0
      memcached.log.000000.txt:2023-04-26T10:04:39.791604-07:00 INFO [(bucket-0) magma_3]Magma::SetHistoryRetentionTime changing history time window from 10 to 0

      Attachments

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

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            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