diff options
author | ilnaz <ilnaz@ydb.tech> | 2023-01-26 14:07:24 +0300 |
---|---|---|
committer | ilnaz <ilnaz@ydb.tech> | 2023-01-26 14:07:24 +0300 |
commit | d5a7697bacaf622ce5cc87b4688f063083b45030 (patch) | |
tree | 7d5ef0afd090f3541a29753bfed2c6d209e9ff22 | |
parent | 86ac09a41283ab2540cca94da594a9975eec088b (diff) | |
download | ydb-d5a7697bacaf622ce5cc87b4688f063083b45030.tar.gz |
Add comments to changefeed states
-rw-r--r-- | ydb/public/api/protos/ydb_table.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ydb/public/api/protos/ydb_table.proto b/ydb/public/api/protos/ydb_table.proto index 8b41405f325..9405f11612c 100644 --- a/ydb/public/api/protos/ydb_table.proto +++ b/ydb/public/api/protos/ydb_table.proto @@ -159,8 +159,16 @@ message Changefeed { message ChangefeedDescription { enum State { STATE_UNSPECIFIED = 0; + + // Normal state, from this state changefeed can be disabled STATE_ENABLED = 1; + + // No new change records are generated, but the old ones remain available + // From this state changefeed cannot be switched to any other state STATE_DISABLED = 2; + + // An initial scan is being performed. + // After its completion changefeed will switch to the normal state STATE_INITIAL_SCAN = 3; } |