Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
7.2.0
-
7.2.0-5318
-
Untriaged
-
Linux x86_64
-
0
-
Unknown
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
|