Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Parsed test spec with 3 sessions
 
starting permutation: begin1 lock1 reindex2 drop3 end1
step begin1: BEGIN;
step lock1: LOCK reindex_schema.tab_locked IN SHARE UPDATE EXCLUSIVE MODE;
step reindex2: REINDEX SCHEMA reindex_schema; <waiting ...>
step drop3: DROP TABLE reindex_schema.tab_dropped;
step end1: COMMIT;
step reindex2: <... completed>
 
starting permutation: begin1 lock1 reindex_conc2 drop3 end1
step begin1: BEGIN;
step lock1: LOCK reindex_schema.tab_locked IN SHARE UPDATE EXCLUSIVE MODE;
step reindex_conc2: REINDEX SCHEMA CONCURRENTLY reindex_schema; <waiting ...>
step drop3: DROP TABLE reindex_schema.tab_dropped;
step end1: COMMIT;
step reindex_conc2: <... completed>