-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Serverless
-
Server Serverless 2023-05-29
-
1
Today, in the logWriteConflictAndBackoff, it recreates a NamespaceString object from the input parameter "StringData ns". It's not reasonable for some reasons:
- the "ns" is already a string for logging. Recreating a NamespaceString object from it is wasting the cpu/memory.
- the call patch of it can pass in not only a ns string but also a UUID string (eg, here). It's not reasonable to create a NamespaceString object from a UUID string.
- the 'NamespaceString(ns)' function will be removed by
SERVER-65920.
In this ticket, we'll log the ns directly, for example,
"namespace"_attr = ns
- is duplicated by
-
SERVER-65920 Remove NamespaceString ctors with default parameter for tenantId
- Closed