-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
60946: changefeedccl: Envelope schema name reflects schema config r=[stevendanna] a=HonoreDB Fixes a bug where the Avro -envelope schema name, as opposed to subject, did not honor the schema prefix and full table name options. Release note (bug fix): Envelope schema in avro registry now honors schema_prefix and full_table_name 61662: rangefeed: handle closed timestamps with logical parts r=andreimatei a=andreimatei Before this patch, the resolved timestamp computation code didn't handle closed timestamps with logical parts properly. I believe we didn't use to have such closed timestamps under "the old" closed timestamp mechanism, and we also don't have with the "new one" [*]. Still, the resolved timestamp should support them. The trouble was when the resolved timestamp was tracking an intent at, say, 11.0, with the closed timestamp at 10.2. resolvedTimestamp.recompute() was doing FloorPrev(11)==10, and compared that with the closed ts. It was freaking out when the FloorPrev was going below the closed timestamp. This patch rewords this logic to handle this case. [*] Before #61559, the new closed ts code did sometimes close logical timestamps - when we were trying to close above the lease expiration, we were doing Backwards(leaseExpiration) (and leases with a logical expiration are possible, although that seems separately dubious to me). This case change in #61559, which added physical rounding to the respective lease expiration. Fixes #61176 - although I think the bug has gone back to hidden after #61559 Release note: None Release justification: Sort of bug fix for new functionality. But more importantly, this affords extra flexibility to 21.1 in dealing with potential changes in 21.2. 61790: colexec: propagate disk full error as expected r=yuzefovich a=yuzefovich Previously, we would always propagate the errors emitted by the spilling queues and disk queues as "internal" which resulted in errors being annotated. However, "disk full" errors are expected to occur, so this commit cleans that up. Additionally, it plumbs the propagation into the spilling queue's `Enqueue` method itself to remove some of the duplicated code. Fixes: #61769. Release note: None Co-authored-by: Aaron Zinger <zinger@cockroachlabs.com> Co-authored-by: Andrei Matei <andrei@cockroachlabs.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
17 changed files
with
145 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.