[SERVER-62360] Handle reconfiguring the WiredTiger LOGV2 component hierarchy Created: 05/Jan/22  Updated: 29/Oct/23  Resolved: 17/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Improvement Priority: Major - P3
Reporter: Alison Felizzi (Inactive) Assignee: Alison Felizzi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61744 Handle a new WiredTiger system log co... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage - Ra 2022-01-10, Storage - Ra 2022-01-24
Participants:
Story Points: 3

 Description   

Context:

A WiredTiger system log component hierarchy was introduced in SERVER-61744. In lieu of a nice abstraction to reconfigure the WiredTiger connection when a LOGV2 component setting changed, an intermediate solution used in SERVER-61744 was to block any changes to the WiredTiger hierarchy at runtime. This is un-ideal in the long term. It would be preferable to allow for the WiredTiger LOGV2 hierarchy to be updated a runtime. This ticket will look to implement a solution that make runtime reconfiguration possible.

Definition of Done:

A solution to enable the propagation of log component settings to the WiredTiger connection at runtime could roughly involve the following:

  • Create a LogConfig interface owned by each KVEngine implementation.
  • Have an implementation of the LogConfig interface in the WiredTigerKVEngine.
    • This having access to the WiredTiger connection interface, with which it can map the updated LOGV2 components to an appropriate WiredTiger verbose configuration string.
  • Call the LogConfig method of the KVEngine instance when handling the reconfiguration of the LOGV2 components.


 Comments   
Comment by Githook User [ 17/Jan/22 ]

Author:

{'name': 'Alison Felizzi', 'email': 'alison.felizzi@mongodb.com', 'username': 'alisonfel'}

Message: SERVER-62360 Handle re-configuring the WT LOGV2 component hierarchy

Co-authored-by: Etienne Petrel <etienne.petrel@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/5f19650b3b2561a9bc1e39ad95dc7fc309c1990b

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