This repository was archived by the owner on Mar 11, 2022. It is now read-only.
1.1.0 (2016-08-24)
- [NEW] Updated to version 2.5.1 of the
cloudant-httplibrary. This
includes optional support for handling HTTP status code 429Too Many Requestswith blocking backoff and retries. To enable the
backoff add an instance of aReplay429Interceptorwith the desired
number of retries and initial backoff:
builder.addResponseInterceptors(new Replay429Interceptor(retries, initialBackoff));
A default instance is available using 3 retries and starting with a
250 ms backoff:Replay429Interceptor.WITH_DEFAULTS - [DEPRECATED]
DatastoreManagerconstructors. UseDatastoreManager.getInstancefactory methods
instead to guarantee only a singleDatastoreManagerinstance is created for a given storage
directory path in the scope of theDatastoreManagerclass. - [FIX] Corrected a case where two root nodes with identical revision IDs prevented selection of the
correct new winning revision. - [FIX] Added migration on
Datastoreopening to repair datastores with duplicated revisions or
attachments caused by an issue when executing concurrent pull replications with the same source and target.
Note that in rare circumstances for some documents this may result in a different, but corrected,
winning revision after migration. - [FIX] Prevent insertion of multiple revisions with the same document
ID and revision ID. Previously this could occur when executing
concurrent pull replications with the same source and target. A
replication encountering this condition will now terminate in the
ERRORstate. - [NOTE] Due to migrations outlined above, the first time an existing
Datastoreis opened with this version of the library, users may
experience a longer than usual delay before theDatastoreis
ready.