Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ef4c5
)
Add another type cast to v1 worklist query
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 02:38:34 +0000
(21:38 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 02:38:34 +0000
(21:38 -0500)
disk_jumble/src/disk_jumble/verify.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/verify.py
b/disk_jumble/src/disk_jumble/verify.py
index 5f37c16992b9c0446af22e48ec5fe5ca06575714..063eef5d27b6886642dca178a707996abeef673a 100644
(file)
--- a/
disk_jumble/src/disk_jumble/verify.py
+++ b/
disk_jumble/src/disk_jumble/verify.py
@@
-110,7
+110,7
@@
def _get_v1_worklist(conn, disk_id: int, block_ranges: List[NumericRange]) -> Li
select relevant_slab.*, target_range * disk_blocks as target_span
from
relevant_slab
- join unnest(%(block_ranges)s) as target_range
+ join unnest(%(block_ranges)s
::int8range[]
) as target_range
on target_range && disk_blocks
),
targeted_piece as (