[SERVER-56770] small improvements to rpc/message.h ergonomics Created: 07/May/21  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:

 Description   

Convert some old `const char*` to `StringData`.
(came up in a code review)

Provide a `fmt::formatter` and `operator<<` for these so we don't have to call the `${X}ToString` functions much at all. Rename them just `toStringData` and let overloading do the spelling work.

Upgrade msgasserted.
Upgrade NetworkOp from `enum` to `enum class`.

Rename MSGHEADER namespace and MsgData namespace to comply with namespace convention.


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