citus/src/include
Onur Tirtir 5825c44d5f
Handle aborted writes properly when scanning a columnar table (#5244)
If it is certain that we will not use any `parallel_worker`s for a columnar table,
then stripe entries inserted by aborted transactions become visible to
`SnapshotAny` and that causes `REINDEX` to fail by throwing a duplicate key
error.

To fix that:
* consider three states for a stripe write operation:
   "flushed", "aborted", or "in-progress",
* make sure to have a clear separation between them, and
* act according to those three states when reading from a columnar table
2021-09-08 13:26:11 +03:00
..
columnar Handle aborted writes properly when scanning a columnar table (#5244) 2021-09-08 13:26:11 +03:00
distributed Apply latest version compat without conflicts 2021-09-03 16:09:59 +03:00
.gitignore Self-implemented review feedback 2017-04-03 22:55:12 -06:00
citus_config.h.in Remove HAS_TABLEAM config since we dropped pg11 support (#4862) 2021-04-13 10:51:26 +03:00
citus_version.h.in Remove HAS_TABLEAM config since we dropped pg11 support (#4862) 2021-04-13 10:51:26 +03:00