Skip to content

Commit

Permalink
Remove the wrong assertion
Browse files Browse the repository at this point in the history
At the moment workers whould alread publish their downlinks.
  • Loading branch information
akorotkov committed May 13, 2024
1 parent 936dde4 commit a775d6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/btree/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ switch_to_disk_scan(BTreeSeqScan *scan)
LWLockAcquire(&poscan->downlinksPublish, LW_EXCLUSIVE);
LWLockRelease(&poscan->downlinksPublish);

Assert(pg_atomic_read_u32(&poscan->dsmSegNumAttached) == 0);
qsort(dsm_segment_address(scan->dsmSeg), poscan->downlinksCount,
sizeof(scan->diskDownlinks[0]), cmp_downlinks);
}
Expand Down

0 comments on commit a775d6f

Please sign in to comment.