util/must: avoid circular dependencies #107427
Labels
A-testing
Testing tools and infrastructure
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-testeng
TestEng Team
Currently,
must
can't be used from packages thatmust
itself depends on (e.g.util/log
), due to circular depencies. If this is needed, we can solve it by dependency injection, where the necessary functions are injected intomust
global variables at runtime viainit()
calls. It isn't clear that we'll need it though, so let's not spend time on this until we do.Jira issue: CRDB-30037
The text was updated successfully, but these errors were encountered: