yugabyte / yugabyte-db

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

[DocDB] Add a consistency checker task for leaderless/majority failure tablets #19081

Open rahuldesirazu opened 1 year ago

rahuldesirazu commented 1 year ago

Jira Link: DB-7892

Description

In majority failure situations, it is imperative that the user runs an unsafe_change_config to resolve the issue. Before doing this, it is best practice to run ldb consistency check to ensure that we have at least one clean copy of the data. Automatically trigger this task from the master leader if it detects this situation.

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

ajd12342 commented 11 months ago

Hi @rahuldesirazu ! I am Anuj Diwan, a Computer Science PhD student at UT Austin. I am part of a team along with @arjunrs1 (Arjun Somayazulu) and we're taking a graduate Distributed Systems course. For our course project, we are interested in contributing to Yugabyte. This issue is related to our course material. Could we work on this issue? Any pointers for us to get started would be appreciated as well.

Thanks and regards, Anuj.

rahuldesirazu commented 11 months ago

Hi @ajd12342, really great that you're looking to contribute to Yugabyte! This task might not be the best one to take on, since it is actually more of a runbook related change than it is a DB change. I'd recommend looking at issues tagged with "Good first issue". I'm more than happy also to provide guidance both on task selection and any design/code reviews. Feel free to ping me on the #contributors channel on our public slack.