mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 17:50:47 +00:00
Remove method from IStorage
This commit is contained in:
parent
7a3c874651
commit
8b331cd9bb
@ -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; }
|
||||
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user