mirror of https://github.com/citusdata/citus.git
So far placements were assigned an Oid, but that was just used to track insertion order. It also did so incompletely, as it was not preserved across changes of the shard state. The behaviour around oid wraparound was also not entirely as intended. The newly introduced, explicitly assigned, IDs are preserved across shard-state changes. The prime goal of this change is not to improve ordering of task assignment policies, but to make it easier to reference shards. The newly introduced UpdateShardPlacementState() makes use of that, and so will the in-progress connection and transaction management changes. |
||
---|---|---|
.. | ||
colocation_utils.c | ||
connection_cache.c | ||
create_shards.c | ||
distribution_metadata.c | ||
fake_fdw.c | ||
generate_ddl_commands.c | ||
prune_shard_list.c | ||
test_helper_functions.c |