Perform strong lock check after seeing error writing to walog #5146
Labels
enhancement
This issue describes a new feature, improvement, or optimization.
Milestone
Is your feature request related to a problem? Please describe.
When a tablet server has an error writing to a walog it will create a new one. One possible error writing to a walog could be caused by the manager revoking the lease on walog after it removes the tservers lock. In this case the tserver should not continue to operate.
Describe the solution you'd like
After getting an error writing to a walog a verification should be done that the tablet sever still holds it lock before switching to a new walog. Can use the new function in #5145 for this.
The text was updated successfully, but these errors were encountered: