You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ttyusupov I'm assuming you meant that we leave directories for tservers that crashed during the remote bootstrap. We do have code to delete the directory if the remote bootstrap finishes, regardless whether the remote bootstrap failed or succeeded. It is in RemoteBootstrapSession::~RemoteBootstrapSession()
Summary:
Source tablet server could crash during remote bootstrap.
So checkpoint directory would not be deleted.
Added mechanism to cleanup checkpoint directories on startup.
Test Plan: ybd debug --cxx-test remote_bootstrap-itest --gtest_filter RemoteBootstrapITest.*
Reviewers: bogdan, oleg, hector
Reviewed By: hector
Subscribers: kannan, oleg, ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D6895
Currently, checkpoints might be not deleted after remote bootstrap has failed.
The text was updated successfully, but these errors were encountered: