Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
42118: Revert "importccl: small refactor of unnecessary loop" r=dt a=danhhz This reverts commit 2e24bf9. This refactor had an unintentional change of behavior. Before there were numCPU workers all collaborating to produce the rows between BatchBegin and BatchEnd. After there are numCPU _each_ producing the rows between BatchBegin and BatchEnd. This means we're importing numCPU duplicates of every kv. I am incredibly surprised that no tests broke, this points to a big hole in our test coverage. I think it was "working" because we require workload implementations to be totally deterministic and AddSSTable has to be resilient to replaying an exact request? Release note: none 42121: sql: fix assignment of dropped table job status r=lucy-zhang a=lucy-zhang We were mistakenly mutating a copy of a slice element in a loop while updating the status for a job for a table drop, causing an incorrect job status to be reported. Fixes #39347. Release note (bug fix): A bug was fixed that caused jobs for dropping tables to report an inaccurate status. Co-authored-by: Daniel Harrison <[email protected]> Co-authored-by: Lucy Zhang <[email protected]>
- Loading branch information