Figure out how Citus' replication model will work with ZomboDB
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
With our current replication model, we can have 2 (or more) logical replicas of the same shard. These shards are copies of each other in terms of the data and have same shard names and index names but reside on different nodes. However, they may have different ctid values for the same rows.
We need to figure out how that would work with ZomboDB in context of:
(a) The elastic search index is referred to as: db.schema.table.index. Both replicas will probably have same values for these fields. Therefore, we need to decide how we should map them into elastic search so that we don't end up having duplicate entries.
(b) The ctid values for the same row will be different across two different shard replicas. As ZomboDB uses ctid values to map rows between elastic search and postgres, we need to understand if that would work or not.
Contributor guide
Assessment
This issue has not been assessed yet.