yugabyte-db icon indicating copy to clipboard operation
yugabyte-db copied to clipboard

[CDCSDK] Enforce relationship between CDC retention gflags

Open es1024 opened this issue 1 year ago • 2 comments

Jira Link: DB-10503

Description

We currently have a pair of gflags: cdc_wal_retention_time_secs and cdc_intent_retention_ms, but implicitly require that cdc_intent_retention_ms <= cdc_wal_retention_time_secs. This should be made explicit in code (error check/using appropriate values when not true).

Source connector version

n/a

Connector configuration

n/a

YugabyteDB version

No response

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • [X] I confirm this issue does not contain any sensitive information.

es1024 avatar Mar 21 '24 00:03 es1024

cc @hari90 , @suranjan

rthallamko3 avatar Mar 21 '24 18:03 rthallamko3

This needs a flag callback on both flags that will FATAL if the incorrect value is set. cc @suranjan as its cdcsdk only

hari90 avatar Mar 22 '24 19:03 hari90