5.0.2
Release Date: December 11, 2020
- A bug affecting this version of the Java client has been identified. If your application uses scans, but does not use
Policy.priority,ScanPolicy.scanPercentorScanPolicy.failOnClusterChange, you can safely upgrade to Java client 5.1.11. We strongly recommend that you do so at the earliest opportunity.
New Features
- Reject command when assigned node's error rate exceeds ClientPolicy.maxErrorRate per ClientPolicy.errorRateWindow. The node's error count is incremented on any error that causes the connection to close (socket errors and client timeouts) plus ResultCode.DEVICE_OVERLOAD. Attempt retry before throwing AerospikeException.Backoff. Default maxErrorRate (0) disables error rate rejection. [CLIENT-1377]
- Retry on ResultCode.DEVICE_OVERLOAD.
- Add Expression.getBase64() to return base64 encoded string of packed expression bytes. [CLIENT-1375]
- Add setXDRFilter(). [CLIENT-1378]
- Add ResultCode.LOST_CONFLICT.
- Deprecate Policy.priority, ScanPolicy.failOnClusterChange and MapOperation.decrement().
Bug Fixes
- Fix NullPointerException that could occur after TLS connection pool is used and minConnsPerNode is defined. [CLIENT-1390]
Full Changelog: 5.0.1...5.0.2