cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.91k stars 3.78k forks source link

crosscluster/logical: TestLogicalStreamIngestionJobWithFallbackUDF makes bad assumption #129569

Open stevendanna opened 4 weeks ago

stevendanna commented 4 weeks ago

Describe the problem

This test assumes that two sequential writes both happen before the LDR job is able to replicate the first write. Under stress this isn't always true. We likely need a testing hook so that we can defer the replication of a write to coordinate this test.

Jira issue: CRDB-41600

blathers-crl[bot] commented 4 weeks ago

Hi @stevendanna, please add branch-* labels to identify which branch(es) this C-bug affects.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.