Conversation
…n by passing span ctx. Update some logging.
… up. Locking the whole function was slowing things down.
Hi there 👋
The MR correctly moves unified storage initialization to ResourceServer construction, which resolves context-cancelled errors in gRPC calls, and applies the intended trace-propagation fix in several spots. However, the finer-grain locking change introduces serious concurrency defects: These might need a close look
Worth checking
Small things (take or leave)
✅ Feature-level checklistNot there yet
Partially covered
Review time: 9m 25s |
Changes:
ResourceServeris created, instead of doing it inside the first gRPC call it receives. This was causing context cancelled errors since the index takes too long to build within the context of the gRPC call.BuildIndexfunction, which was slowing things down when building many namespaces with high concurrency.Notes for reviewer: