Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop ReplicationStrategy #2514

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

muhamadazmy
Copy link
Contributor

@muhamadazmy muhamadazmy commented Jan 20, 2025

Drop ReplicationStrategy

Summary:

The idea here is that we can't use ReplicationStategy
because it's not location aware and instead we should describe
placement in terms of ReplicationProperty.

If placement stragety is not set the system assume placement is done
on all nodes, otherwise the num of copies described by the replication
property is used.

Right now the placement is still not location aware but this will
most probably change in the future


Stack created with Sapling. Best reviewed with ReviewStack.

Summary:
Extend the Partition to inlcude more partition related attributes.
This now include:
- Log Id
- Database Name
- Column Family Name

So far these values are defaults and there is no way to change them
but this will probably change in the future

This PR only adds those fields to the partition structure but the rest
of the system still not using it. This should happen in a
follow up PR.
Summary:

The idea here is that we can't use `ReplicationStategy`
because it's not location aware and instead we should describe
placement in terms of `ReplicationProperty`.

If placement stragety is not set the system assume placement is done
on all nodes, otherwise the num of copies described by the replication
property is used.

> Right now the placement is still not location aware but this will
most probably change in the future
@muhamadazmy muhamadazmy marked this pull request as ready for review January 20, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant