Commit cf2f440
committed
store: Create postponed indexes on subgraph restart
Replace the IndexList-based `recreate_invalid_indexes` call in
`start_subgraph()` with a call to `create_postponed_indexes()`. This
uses `IF NOT EXISTS` and `CONCURRENTLY` to safely create any missing
postponed indexes on every restart, acting as a safety net.
Remove the now-unused `IndexList::recreate_invalid_indexes` method.1 parent 33094d4 commit cf2f440
2 files changed
Lines changed: 5 additions & 67 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1627 | 1627 | | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1639 | 1634 | | |
1640 | 1635 | | |
1641 | 1636 | | |
1642 | 1637 | | |
| 1638 | + | |
1643 | 1639 | | |
1644 | 1640 | | |
1645 | 1641 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
947 | 946 | | |
948 | 947 | | |
949 | 948 | | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | 949 | | |
1008 | 950 | | |
1009 | 951 | | |
| |||
0 commit comments