Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

1.1.0 (2016-08-24)

Compare
Choose a tag to compare
@ricellis ricellis released this 24 Aug 10:34
· 453 commits to master since this release
  • [NEW] Updated to version 2.5.1 of the cloudant-http library. This
    includes optional support for handling HTTP status code 429 Too Many Requests with blocking backoff and retries. To enable the
    backoff add an instance of a Replay429Interceptor with 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] DatastoreManager constructors. Use DatastoreManager.getInstance factory methods
    instead to guarantee only a single DatastoreManager instance is created for a given storage
    directory path in the scope of the DatastoreManager class.
  • [FIX] Corrected a case where two root nodes with identical revision IDs prevented selection of the
    correct new winning revision.
  • [FIX] Added migration on Datastore opening 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
    ERROR state.
  • [NOTE] Due to migrations outlined above, the first time an existing
    Datastore is opened with this version of the library, users may
    experience a longer than usual delay before the Datastore is
    ready.