This is an automated email from the ASF dual-hosted git repository. wangdan pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
commit 83eeb8c4a28b14aedae4459388eb947b81319df1 Author: Dan Wang <[email protected]> AuthorDate: Fri Dec 8 11:48:48 2023 +0800 feat(new_metrics): remove perf counter since shared log has been deprecated --- src/replica/replica_stub.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/replica/replica_stub.cpp b/src/replica/replica_stub.cpp index f4337cd4e..db029e844 100644 --- a/src/replica/replica_stub.cpp +++ b/src/replica/replica_stub.cpp @@ -1615,9 +1615,6 @@ void replica_stub::gc_slog(const replica_gc_info_map &replica_gc_map) // slog files from being removed for gc. flush_replicas_for_slog_gc(replica_gc_map, prevent_gc_replicas); - auto total_size = _log->total_size(); - _counter_shared_log_size->set(total_size / (1024 * 1024)); - // TODO(wangdan): currently we could not yet call _log.reset() as below to close slog and // reset it to nullptr even if it was found that slog had become empty (which means there // had not been any file for slog). --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
