Skip to content

Add support for CDC partitioner/per-table partitioners #96

@piodul

Description

@piodul

Recently, Scylla gained support for tables with custom partitioners. In this context, a partitioner is an algorithm which computes a token (a i64 value) from a partition key. When a table uses a custom partitioner, its data is distributed differently - based on the custom partitioner, not the global partitioner.

Shard/token aware drivers which are unaware of this - just like this one - will calculate wrong tokens and will choose wrong replicas and shards when doing operations on those tables. Shard/token awareness won't work correctly for those tables.

Currently, only CDC log tables have a custom partitioner.

We should implement support for custom partitioners and the CDC partitioner.

References:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions