Skip to content

roachtest: handle duplicates in cdc/schemareg#36436

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
danhhz:cdc_schemareg
Apr 2, 2019
Merged

roachtest: handle duplicates in cdc/schemareg#36436
craig[bot] merged 1 commit intocockroachdb:masterfrom
danhhz:cdc_schemareg

Conversation

@danhhz
Copy link
Copy Markdown
Contributor

@danhhz danhhz commented Apr 2, 2019

There are various internal races and retries in changefeeds that can
produce duplicates. This test is really only to verify that the
confluent schema registry works end-to-end, so do the simplest thing and
sort + unique the output.

Closes #36409

Release note: None

There are various internal races and retries in changefeeds that can
produce duplicates. This test is really only to verify that the
confluent schema registry works end-to-end, so do the simplest thing and
sort + unique the output.

Closes cockroachdb#36409

Release note: None
@danhhz danhhz requested review from nvb and tbg April 2, 2019 19:12
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb 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! 1 of 0 LGTMs obtained (waiting on @nvanbenschoten and @tbg)

@danhhz
Copy link
Copy Markdown
Contributor Author

danhhz commented Apr 2, 2019

TFTR!

bors r=nvanbenschoten

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 2, 2019

Build failed (retrying...)

craig bot pushed a commit that referenced this pull request Apr 2, 2019
36403: storage: rate-limit AddSST requests r=lucy-zhang a=lucy-zhang

We've been seeing extremely high latency for foreground traffic during bulk
index backfills, because AddSST requests into non-empty ranges can be
expensive, and write requests that are queued behind an AddSST request for an
overlapping span can get stuck waiting for multiple seconds. This PR limits the
number of concurrent AddSST requests for a single store, determined by a new
cluster setting, `kv.bulk_io_write.concurrent_addsstable_requests`, to decrease
the impact of index backfills on foreground writes. (It also decreases the risk
of writing too many L0 files to RocksDB at once, which causes stalls.)

Fixes #36430

Release note (general change): Add a new cluster setting,
`kv.bulk_io_write.concurrent_addsstable_requests`, which limits the number of
SSTables that can be added concurrently during bulk operations.

36436: roachtest: handle duplicates in cdc/schemareg r=nvanbenschoten a=danhhz

There are various internal races and retries in changefeeds that can
produce duplicates. This test is really only to verify that the
confluent schema registry works end-to-end, so do the simplest thing and
sort + unique the output.

Closes #36409

Release note: None

Co-authored-by: Lucy Zhang <lucy-zhang@users.noreply.github.com>
Co-authored-by: Daniel Harrison <daniel.harrison@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 2, 2019

Build succeeded

@craig craig bot merged commit 48828d1 into cockroachdb:master Apr 2, 2019
@danhhz danhhz deleted the cdc_schemareg branch April 3, 2020 16:56
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.

3 participants