aerospike / aerospike-client-go

Aerospike Client Go
Apache License 2.0
430 stars 198 forks source link

BatchGet returns nil after idleTimeout since v3.0.0 #305

Closed chorin1 closed 4 years ago

chorin1 commented 4 years ago

Sending a BatchGet after idleTimeout returns nil with no error even though the records exist. To reproduce:

  1. Set a low idleTimeout or wait the default 55 seconds.
  2. Send a batchGet for a single (or more) keys.

client configuration:

    "clientConfig": {
      "connectionQueueSize": 128,
      "openingConnectionThreshold": 0,
      "limitConnectionsToQueueSize": true,
      "tendInterval": "10s",
      "idleTimeout": "25s"
    },
    "batchConfig": {
      "totalTimeout": "2s",
      "allowPartialResults": true,
      "concurrentNodes": 42
    }

Aerospike server:

checked with versions 4.5.1 & 4.2.0.5 proto-fd-idle-ms = 60k

More info:

khaf commented 4 years ago

Thank you for your report, the IdleTimeout observation was a time saver. Should be fixed in v3.0.3.