aerospike / aerospike-client-rust

Rust client for the Aerospike database
https://www.aerospike.com/
Other
82 stars 28 forks source link

Secondary index queries fail with parameter error on Aerospike Server 3.15.1.x #44

Closed jhecking closed 6 years ago

jhecking commented 6 years ago

Query operations using a secondary index filter fail on Aerospike Server 3.15.1.x. The server returns a parameter error (status code 4). The same queries work against Aerospike Server 3.15.0.x and earlier.

The error is caused by an incorrectly sized AS_MSG_FIELD_TYPE_INDEX_RANGE field in the protocol message. Server versions 3.15.0.x and prior are processing the query despite the incorrect field size but server 3.15.1.x returns a parameter error instead. (Ref. aerospike/aerospike-server@69a81d981c6207f72476248c11c823a0dccee3c1)