citus/src
Sameer Awasekar acccad9879 Introduce code changes to fix Issue:6303 (#6328)
The PR introduces code changes to fix Issue
[6303](https://github.com/citusdata/citus/issues/6303)

`create_distributed_table_concurrently` following drop column, creates a
buggy situation in split decoder.
 * Consider the below scenario:
* Session1 : Drop column followed by
create_distributed_table_concurrently
 * Session2 : Concurrent insert workload

The child shards created by `create_distributed_table_concurrently` will
have less columns than the source shard because some column were
dropped. The incoming tuple from session2 will have more columns as the
writes happened on source shard. But now the tuple needs to be applied
on child shard. So we need to format existing tuple according to child
schema and skip dropped column values.
The PR fixes this by reformatting the tuple according the target child
schema.

Test:
1) isolation_create_distributed_concurrently_after_drop_column - Repros
the issue and tests on the same.
2022-09-15 09:48:43 +02:00
..
backend Introduce code changes to fix Issue:6303 (#6328) 2022-09-15 09:48:43 +02:00
bin/pg_send_cancellation Make enterprise features open source (#6008) 2022-06-16 00:23:46 -07:00
include Show citus_copy_shard_placement progress in get_rebalance_progress (#6322) 2022-09-13 08:59:52 +00:00
test Introduce code changes to fix Issue:6303 (#6328) 2022-09-15 09:48:43 +02:00