Commit 35d6de6
committed
catalog/lease: fix a bug in out-of-band close timestamp logic
Previously, the logic for handling descriptor updates for the locked
lease timestamps was incorrectly truncating the descriptor versions
array. This could lead to a panic due to an out-of-bounds access later
on, since the descriptor versions and descriptor IDs arrays should be
the same size. To address this, this patch ensures the correct length is
used.
Fixes: #157880
Release note: None1 parent dc14156 commit 35d6de6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
2191 | | - | |
| 2191 | + | |
2192 | 2192 | | |
2193 | 2193 | | |
2194 | 2194 | | |
| |||
0 commit comments