cartridge-java icon indicating copy to clipboard operation
cartridge-java copied to clipboard

Implement Tarantool version verification for feature toggling

Open akudiyar opened this issue 4 years ago • 1 comments

Problem statement

Currently, the Tarantool version is not checked which may lead to the user receiving server errors or missing features like updating by JSON paths since Tarantool 2.3.

Proposed solution

Implement checking the Tarantool version and a service for fencing the parts of code depending on the current Tarantool version:

  • parse the Tarantool header into parts (currently the version is not parsed)
  • use the version holder in a singleton service
  • add new exception type
  • make version holder stick with connection, implement cross-checking of version in connections (either forbid connecting of one driver instance to the servers with different versions or maintain the minimal version (?)

akudiyar avatar Nov 13 '20 18:11 akudiyar

Ween need to look at IPROTO ID feature in Tarantool 2.10.

dkasimovskiy avatar Sep 04 '23 14:09 dkasimovskiy