mirror of
https://github.com/qdrant/qdrant.git
synced 2026-09-28 17:07:49 -05:00
`TableOfContent::new` installs the process-global quota manager, and `set_global` treated a second install as a startup-order bug worth a `debug_assert!`. A test binary runs all of its tests in a single process, and every test that builds a table of contents installs the manager again, so all but the first one panic. Building several tables of contents in one process is legitimate for test harnesses, so the second install is no longer fatal. A node that installs twice still reports it loudly through the existing error log. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>