Skip to content

cdc: Re-enable Fingerprint Validator#31774

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/cdc_enable_fingerprint_validator
Oct 25, 2018
Merged

cdc: Re-enable Fingerprint Validator#31774
craig[bot] merged 1 commit intocockroachdb:masterfrom
mrtracy:mtracy/cdc_enable_fingerprint_validator

Conversation

@mrtracy
Copy link
Copy Markdown
Contributor

@mrtracy mrtracy commented Oct 24, 2018

Fingerprint validator was previously disabled due to its lack of support
for "initial scan" situations. This commit fixes fingerprint validator
to support initial scans correctly and re-enables the validator in
tests that were using it.

Resolves #31110

Release note: None

@mrtracy mrtracy requested review from a team and danhhz October 24, 2018 02:43
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@mrtracy
Copy link
Copy Markdown
Contributor Author

mrtracy commented Oct 24, 2018

Note that I did not re-enable the validator in CDCBankTest for now, because @danhhz is moving that test as part of #31707. Whichever of these two PRs merges second (likely this one) should re-enable the validator in that test.

Copy link
Copy Markdown
Contributor

@danhhz danhhz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@mrtracy mrtracy force-pushed the mtracy/cdc_enable_fingerprint_validator branch from 73164a9 to 78a7d75 Compare October 24, 2018 23:28
Fingerprint validator was previously disabled due to its lack of support
for "initial scan" situations. This commit fixes fingerprint validator
  to support initial scans correctly and re-enables the validator in
  tests that were using it.

Resolves cockroachdb#31110

Release note: None
@mrtracy mrtracy force-pushed the mtracy/cdc_enable_fingerprint_validator branch from 78a7d75 to a3eaebf Compare October 25, 2018 00:30
@mrtracy
Copy link
Copy Markdown
Contributor Author

mrtracy commented Oct 25, 2018

bors r=danhhz

craig bot pushed a commit that referenced this pull request Oct 25, 2018
31774: cdc: Re-enable Fingerprint Validator r=danhhz a=mrtracy

Fingerprint validator was previously disabled due to its lack of support
for "initial scan" situations. This commit fixes fingerprint validator
  to support initial scans correctly and re-enables the validator in
  tests that were using it.

Resolves #31110

Release note: None

Co-authored-by: Matt Tracy <matt@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Oct 25, 2018

Build succeeded

@craig craig bot merged commit a3eaebf into cockroachdb:master Oct 25, 2018
@mrtracy mrtracy deleted the mtracy/cdc_enable_fingerprint_validator branch October 25, 2018 19:11
mrtracy pushed a commit to mrtracy/cockroach that referenced this pull request Oct 25, 2018
Fix a bug introduced by cockroachdb#31774; the test was creating a fingerprint
validator which requires a table name, but in this case needed the fully
qualified name with the database (`bank.bank` instead of `bank`).

Also fixed a nil reference that occurred when exiting the test early
from the command line.

Resolves cockroachdb#31903

Release note: None
craig bot pushed a commit that referenced this pull request Oct 29, 2018
31905: cdc: Fix cdc/bank roachtest r=danhhz a=mrtracy

Fix a bug introduced by #31774; the test was creating a fingerprint
validator which requires a table name, but in this case needed the fully
qualified name with the database (`bank.bank` instead of `bank`).

Also fixed a nil reference that occurred when exiting the test early
from the command line.

Resolves #31903

Release note: None

Co-authored-by: Matt Tracy <matt@cockroachlabs.com>
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

Successfully merging this pull request may close these issues.

cdc: Re-enable fingerprint validator in Validators test

3 participants