Update src/Storages/StorageReplicatedMergeTree.cpp

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
This commit is contained in:
Sema Checherinda 2023-05-05 17:49:12 +02:00 committed by GitHub
parent 36b028bc6b
commit efcf7fbe4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8271,7 +8271,7 @@ StorageReplicatedMergeTree::unlockSharedData(const IMergeTreeDataPart & part, co
/// However remote data might be shared and has to be unlocked in the keper before removing.
/// Actually there is some cases when it is clear without keper:
/// When the part has been fetched then remote data has to be preserved, part doesn't own it.
/// When the part has been merged then remote data can to removed, part own it.
/// When the part has been merged then remote data can be removed, part owns it.
/// In opposition, when the part has been mutated in generally it hardlinks the files.
/// Therefore remote data is shared, it has to be unlocked in the keper.