Martin Siverbäck
05/12/2023, 11:18 AMMark Needham
05/12/2023, 1:14 PM/tables/{tableName}/externalview - this is the state of segments for a given table
• /tables/${name}/idealstate - this is the state that it’s trying to achieve.
If the results from these APIs doesn’t match then we end up with the bad status.
So I think if you computed a diff between the output of these two endpoints you would get a list of bad segments and you could then rest them.
Do you know why the segments go bad? Is it because the IPs of the VMs are sometimes different after you restart things?Mayank
Martin Siverbäck
05/15/2023, 12:04 PMMayank
Martin Siverbäck
05/16/2023, 6:17 AMMartin Siverbäck
05/24/2023, 6:45 AM