We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d11d4d commit 5e39f8bCopy full SHA for 5e39f8b
1 file changed
src/Disks/S3/DiskS3.cpp
@@ -748,6 +748,10 @@ void DiskS3::setReadOnly(const String & path)
748
749
void DiskS3::shutdown()
750
{
751
+ /// This call stops any next retry attempts for ongoing S3 requests.
752
+ /// If S3 request is failed and the method below is executed S3 client immediately returns the last failed S3 request outcome.
753
+ /// If S3 is healthy nothing wrong will be happened and S3 requests will be processed in a regular way without errors.
754
+ /// This should significantly speed up shutdown process if S3 is unhealthy.
755
client->DisableRequestProcessing();
756
}
757
0 commit comments