yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.68k stars 1.04k forks source link

[DocDB] Store per tablet/table replication info in the consensus layer #19453

Open basavaraj29 opened 9 months ago

basavaraj29 commented 9 months ago

Jira Link: DB-8256

Description

In the current implementation, we seem to store the required rf for a tablet/table in the master layer. May be it is better to additionally store/move this info into the consensus layer to make better decisions for all other consensus operations.

Once this is done, we also need to ensure that any changes to RF are still allowed, propagated down to consensus layer properly and are factored in when making changes to config.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

rthallamko3 commented 1 month ago

@lingamsandeep , Lowering the priority to medium for now. As we discussed offline that we will pick it up at a later point, as split brain cannot happen.