-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdc delta == keys does not produce cdc$operation nor cdc$ttl #7095
Comments
It seems that @jul-stas was sure this is correct |
Indeed. Fixing. |
I have a patch already |
Sending it now |
The fix is here #7096 |
I think a better fix is to not generate the value parts in the first place, and remove the filtering. With @kbr- :s visitor pattern it is quite straight forward. I have it included in a patch set. I'll send a PR tomorrow. |
Fixes scylladb#7095 CDC delta=keys did not include cdc$operation or cdc$ttl, which both seem rather important info even in keys-only mode. CDC delta=keys or off both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors.
Fixes scylladb#7095 CDC delta=keys did not include cdc$operation or cdc$ttl, which both seem rather important info even in keys-only mode. CDC delta=keys or off both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors.
Fixes #7095 Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com>
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors.
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors.
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. v2: * Fixed delta logs rows created (empty) even when delta == off
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. v2: * Fixed delta logs rows created (empty) even when delta == off v3: * Killed delta == off
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. v2: * Fixed delta logs rows created (empty) even when delta == off v3: * Killed delta == off v4: * Move checks into (const) member var(s)
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. v2: * Fixed delta logs rows created (empty) even when delta == off v3: * Killed delta == off v4: * Move checks into (const) member var(s)
…tion Merged pull request #7121 By Calle Wilund: Refs #7095 Fixes #7128 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. Also removed delta_mode=off mode. cdc: Remove post-filterings for keys-only/off cdc delta generation cdc: Remove cdc delta_mode::off
@nyh please evaluate for backport. |
Refs scylladb#7095 CDC delta!=full both relied on post-filtering to remove generated log row and/or cells. This is inefficient. Instead, simply check if the data should be created in the visitors. v2: * Fixed delta logs rows created (empty) even when delta == off v3: * Killed delta == off v4: * Move checks into (const) member var(s)
Not backporting. These are changes to recently added and refactored code. |
If cdc::delta is set to "keys" (keys only), the result is postprocessed to remove certain columns or rows (inefficient - with the latest refactor, it should be easy to just not create it in the first place).
However, even
cdc$operation
andcdc$ttl
is removed. That does not seem right.The text was updated successfully, but these errors were encountered: