Closed Serpentian closed 1 year ago
@Gerold103 smth strange is going on with some of our storage/*
tests on CI.
Sometimes they just hang on the following line:
test_run = require('test_run').new()
It's already the third time I see this in the last two weeks. Currently it was reproduced on the 2.8 branch. Do you have any ideas for the reason of such behavior?
Currently reloading from versions before commit https://github.com/tarantool/vshard/commit/dd70cfb2c5ec36ab7d5355b0024e5f6d21bb8f9f ("router: auto and manual enable/disable") doesn't work, as variables
is_enabled
andapi_call_cache
weren't handled properly. Let's setis_enabled
flag to true on reload for backward compatibility. As forapi_call_cache
it should be set on router configuration, not its creation, as reconfiguration is invoked anyway on reload.The commit also introduces a test, which checks availability of basic services and methods, when the router module is reloaded to the new version.
Closes https://github.com/tarantool/vshard/issues/141
NO_DOC=bugfix