Closed
Description
There are exceptions trown in cartridge-java driver due to crud-router and crud-storage roles initialization issues.
How to repoduce:
- run some load test to call crud.select (with prefer_replica=true and balance=true) and crud.upsert
- stop/start a few routers
- stop/start a few replicas (not leaders) in replicasets
Result for select:
org.springframework.dao.DataRetrievalFailureException: InnerErrorMessage:
code: 33
message: Procedure '_crud.select_on_storage' is not defined; nested exception is io.tarantool.driver.exceptions.TarantoolInternalException: InnerErrorMessage:
code: 33
message: Procedure '_crud.select_on_storage' is not defined
Result for upsert:
Caused by: io.tarantool.driver.exceptions.TarantoolInternalException: InnerErrorMessage:
code: 32
message: ...example.lua:100: variable 'crud' is not declared