Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Nordström <[email protected]>
Signed-off-by: Mats Kindahl <[email protected]>
  • Loading branch information
mkindahl and erimatnor authored Jan 30, 2025
1 parent 8f0c997 commit 019509c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tsl/test/isolation/specs/deadlock_drop_index_vacuum.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@
# S1: Lock chunk from hypertable
# index: []
# table: S1 []
# S3: Start VACUUM ANALYZE, will attempt to lock chunk, but get queued.
# S3: Start VACUUM ANALYZE, will attempt to lock chunk table, but get queued.
# index: []
# table: S1 [S3]
# S2: Lock chunk from hypertable, which will be queued
# S2: Lock chunk table from hypertable, which will be queued
# index: []
# table: S1 [S3 S2]
# S1: Unlock chunk
# S1: Unlock chunk table
# index: []
# table: [S3 S2]
# S3: VACUUM ANALYZE continues and takes the lock on the chunk.
# S3: VACUUM ANALYZE continues and takes the lock on the chunk table.
# index: []
# table: S3 [S2]
# S3: VACUUM ANALYZE will release the lock on the chunk.
# S3: VACUUM ANALYZE will release the lock on the chunk table.
# index: []
# table: [S2]
# S3: VACUUM ANALYZE will attempt to lock the chunk again
# S3: VACUUM ANALYZE will attempt to lock the chunk table again
# index: []
# table: [S2 S3]
# S2: The LOCK statement get the lock and VACUUM will wait
# S2: The LOCK statement gets the lock and VACUUM will wait
# index: []
# table: S2 [S3]
# S4: DROP INDEX starts and takes lock in index first and then is
# queued for the chunk
# queued for the chunk table
# index: S4 []
# table: S2 [S3 S4]
# S2: Release lock on chunk
# S2: Release lock on chunk table
# index: S4 []
# table: [S3 S4]
# S3: VACUUM continues and takes table lock and then tries index lock
Expand Down

0 comments on commit 019509c

Please sign in to comment.