8.7.0 SchemaManager not respecting UPDATE_TIMEOUT_SECS
I’m running some test on solr 8.7.0 with embedded zookeeper.
I have an issues that sometimes after changing the schema the very next call is still running against the old schema returning wrong results.
A retry or a small wait will fix the issue, but this makes it hard to test as UPDATE_TIMEOUT_SECS would suggest the call is only returned after the schema is updated and cores are reloaded.
This issue is new in 8.7 I can not be reproduce it in 8.6.
From my Point of view either the SchemaManager should acquire a readerLock to disable SolrCore.getConfListener reloads while updating the schema or CoreContainer.reload should await somehow that the reloaded core is available before returning in line 1710.