Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdc: avoid deadlock on error in pubsub sink
cockroachdb#88130 introduced a deadlock when an attempt to create a topic fails -- the goroutine tries to acquire a lock in order to record the error, but it already has it in order to write to the map. This PR releases the lock while creating the topic, which should also help with performance a bit on startup. Release note (bug fix): Fixed a bug preventing pubsub changefeeds from retrying.
- Loading branch information