Commit 00fcb98
committed
catalog/lease: fix a bug preventing timestamp refreshes
Previously, when we added support for locked leased manager timestamps,
which are disabled by default we introduced a new bug that prevented the
timestamp from moving forward (even with this feature disabled). To address
this, this patch modifies the leased descriptors to allow the timestamps
to move forward again.
Note: This patch also temporarily skips the flaky test:
TestLeaseManagerLockedTimestampBasic
Fixes: #153830
Fixes: #153834
Fixes: #153835
Fixes: #154118
Release note: None1 parent 82a1c7d commit 00fcb98
File tree
2 files changed
+9
-1
lines changed- pkg/sql/catalog
- descs
- lease
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
1739 | 1740 | | |
1740 | 1741 | | |
1741 | 1742 | | |
| 1743 | + | |
| 1744 | + | |
1742 | 1745 | | |
1743 | 1746 | | |
1744 | 1747 | | |
| |||
0 commit comments