mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-05-06 12:22:07 -05:00
shard: fix name in xmon and add replica id to tag in metrics
This commit is contained in:
committed by
GitHub Enterprise
parent
b240de53b5
commit
13c5df0131
+1
-1
@@ -13,7 +13,7 @@ std::ostream& operator<<(std::ostream& out, ReplicaId replica) {
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream& out, ShardReplicaId shrid) {
|
||||
out << shrid.shardId() << ":" << shrid.replicaId();
|
||||
out << std::setw(3) << std::setfill('0') << shrid.shardId() << ":" << shrid.replicaId();
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user