Skip to content

Commit 2a8d84e

Browse files
alimarediacbodley
authored andcommitted
rgw: replace '-''s with '_''s in the sync delta counter labels
Signed-off-by: Ali Maredia <[email protected]>
1 parent 818e678 commit 2a8d84e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rgw/driver/rados/rgw_data_sync.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,9 +1133,9 @@ class RGWDataSyncShardMarkerTrack : public RGWSyncShardMarkerTrack<string, strin
11331133
std::string sz_id = sc->source_zone.id;
11341134
std::string lz_id = sc->env->svc->zone->get_zone_params().get_id();
11351135
return ceph::perf_counters::key_create(rgw_sync_delta_counters_key,
1136-
{{"local-zone-id", lz_id},
1137-
{"source-zone-id", sz_id},
1138-
{"shard-id", std::to_string(shard_id)}});
1136+
{{"local_zone_id", lz_id},
1137+
{"source_zone_id", sz_id},
1138+
{"shard_id", std::to_string(shard_id)}});
11391139
}
11401140

11411141
RGWCoroutine* store_marker(const string& new_marker, uint64_t index_pos, const real_time& timestamp, const real_time& last_update) override {

0 commit comments

Comments
 (0)