mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-01 06:00:49 +00:00
fix some Suggest
This commit is contained in:
parent
ff8958965a
commit
8566df9b7d
@ -130,7 +130,7 @@ namespace ErrorCodes
|
|||||||
extern const int UNKNOWN_POLICY;
|
extern const int UNKNOWN_POLICY;
|
||||||
extern const int NO_SUCH_DATA_PART;
|
extern const int NO_SUCH_DATA_PART;
|
||||||
extern const int INTERSERVER_SCHEME_DOESNT_MATCH;
|
extern const int INTERSERVER_SCHEME_DOESNT_MATCH;
|
||||||
extern const int DUPLICATED_PART_UUIDS;
|
extern const int DUPLICATE_DATA_PART;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace ActionLocks
|
namespace ActionLocks
|
||||||
@ -5394,7 +5394,7 @@ void StorageReplicatedMergeTree::fetchPartition(
|
|||||||
* Unreliable (there is a race condition) - such a part may appear a little later.
|
* Unreliable (there is a race condition) - such a part may appear a little later.
|
||||||
*/
|
*/
|
||||||
if (checkIfDetachedPartExists(part_name))
|
if (checkIfDetachedPartExists(part_name))
|
||||||
throw Exception("Detached part " + part_name + " already exists.", ErrorCodes::DUPLICATED_PART_UUIDS);
|
throw Exception("Detached part " + part_name + " already exists.", ErrorCodes::DUPLICATE_DATA_PART);
|
||||||
LOG_INFO(log, "Will fetch part {} from shard {} (zookeeper '{}')", part_name, from_, auxiliary_zookeeper_name);
|
LOG_INFO(log, "Will fetch part {} from shard {} (zookeeper '{}')", part_name, from_, auxiliary_zookeeper_name);
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Loading…
Reference in New Issue
Block a user