[DOCS-15949] Investigate changes in SERVER-73394: Remove misleading operationsBlockedByRefresh metrics Created: 07/Mar/23  Updated: 13/Nov/23  Resolved: 19/Jul/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kanchana Sekhar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
backported by DOCS-16323 [BACKPORT] [v6.0] Remove misleading o... Closed
backported by DOCS-16343 [BACKPORT] [v5.0] Remove misleading o... Closed
Documented
documents SERVER-73394 Remove misleading operationsBlockedBy... Closed
Participants:
Days since reply: 29 weeks, 2 days ago

 Description   
Original Downstream Change Summary

Removed operationsBlockedByRefresh metrics of serverStatus:

https://www.mongodb.com/docs/manual/reference/command/serverStatus/#mongodb-serverstatus-serverstatus.shardingStatistics.catalogCache.operationsBlockedByRefresh

Description of Linked Ticket

The operationsBlockedByRefresh counters are increased on mongos for every operation that use collection routing information even if the operation haven't been blocked by a catalog refresh.

In fact all operations that requires collection routing information end up calling  CatalogCache::_getCollectionPlacementInfoAt . In this function we unconditionally set the operationBlockedBheindCatalogCacheRefres boolean to true and when the operation completes we execute CatalogCache::checkAndRecordOperationBlockedByRefresh that increase the metric counters.

This metric has been introduced by SERVER-46396 as part of PM-1633. The future flag for this project have been disabled because we discovered was causing performance regression.
This goal of this ticket is to remove this wrong and misleading metric to avoid confusion.



 Comments   
Comment by Kanchana Sekhar [ 17/Jul/23 ]

PR: https://github.com/10gen/docs-mongodb-internal/pull/3951

 

Generated at Thu Feb 08 08:14:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.