Fix bug in verify v2 worklist generation query
authorJakob Cornell <jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 22:27:03 +0000 (17:27 -0500)
committerJakob Cornell <jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 22:27:03 +0000 (17:27 -0500)
disk_jumble/src/disk_jumble/verify.py

index cb5aded87a5ae28732482e675c59abb0957c5c36..49cf28b016b6259f7a179770924d736b310844a7 100644 (file)
@@ -198,10 +198,8 @@ def _get_v2_worklist(conn, disk_id: int, target_ranges: List[NumericRange]) -> L
                                ),
                                joined as (
                                        select
-                                               entity_id,
-                                               entity.length,
-                                               entity_blocks,
-                                               slab_plus.disk_blocks,
+                                               entity_id, entity.length, entity_blocks,
+                                               slab_plus.disk_blocks, crypt_key,
                                                hashes,
                                                entity_blocks * elh.block_range as check_erange
                                        from