Skip to content
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

report a bug for change stream #156

Closed
iceriver123 opened this issue Aug 14, 2024 · 2 comments
Closed

report a bug for change stream #156

iceriver123 opened this issue Aug 14, 2024 · 2 comments

Comments

@iceriver123
Copy link
Contributor

iceriver123 commented Aug 14, 2024

Even though there is no change in the stream options, the diff tool outputs the following:

ALTER CHANGE STREAM SET OPTIONS (null);

This error cannot be found when running the "mvn clean verify" command, but it appears when running the jar file again two DDLs file.

@iceriver123
Copy link
Contributor Author

Ok. found the reason. it occurs when the options in new and old change streams are in different order

such as old.ddl

create change stream toremain2 for all
OPTIONS (
retention_period = '7d',
value_capture_type = 'OLD_AND_NEW_VALUES',
exclude_ttl_deletes = true);

new.ddl

create change stream toremain2 for all
OPTIONS (
value_capture_type = 'OLD_AND_NEW_VALUES',
retention_period = '7d',
exclude_ttl_deletes = true);

The fix is easy

@nielm
Copy link
Collaborator

nielm commented Sep 22, 2024

Thanks for the debugging - and fix!

@nielm nielm closed this as completed Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants