Remove method from IStorage

This commit is contained in:
alesapin 2021-12-29 22:41:47 +03:00
parent 7a3c874651
commit 8b331cd9bb
2 changed files with 1 additions and 4 deletions

View File

@ -138,9 +138,6 @@ public:
/// Returns true if the storage replicates SELECT, INSERT and ALTER commands among replicas.
virtual bool supportsReplication() const { return false; }
/// Returns replica name for replicated storage
virtual String getReplicaName() const { return ""; }
/// Returns true if the storage supports parallel insert.
virtual bool supportsParallelInsert() const { return false; }

View File

@ -253,7 +253,7 @@ public:
/// Get best replica having this partition on a same type remote disk
String getSharedDataReplica(const IMergeTreeDataPart & part, DiskType disk_type) const;
inline String getReplicaName() const override { return replica_name; }
inline String getReplicaName() const { return replica_name; }
/// Restores table metadata if ZooKeeper lost it.
/// Used only on restarted readonly replicas (not checked). All active (Committed) parts are moved to detached/