mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #56905 from ClickHouse/disk_encrypted_create_dirs
Allow delegate disk to handle retries for createDirectories
This commit is contained in:
commit
8cf93fe133
@ -60,9 +60,9 @@ public:
|
|||||||
|
|
||||||
void createDirectories(const String & path) override
|
void createDirectories(const String & path) override
|
||||||
{
|
{
|
||||||
auto tx = createEncryptedTransaction();
|
auto wrapped_path = wrappedPath(path);
|
||||||
tx->createDirectories(path);
|
/// Delegate disk can have retry logic for recursive directory creation. Let it handle it.
|
||||||
tx->commit();
|
delegate->createDirectories(wrapped_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearDirectory(const String & path) override
|
void clearDirectory(const String & path) override
|
||||||
|
Loading…
Reference in New Issue
Block a user