Liking cljdoc? Tell your friends :D

Changelog

All notable, user-visible changes to konserve-dynamodb are documented here.

Unreleased

Fixed

  • A multi-key write with one large value no longer fails when the batch fits. Since the oversized-blob support, multi-assoc gave every item an even share of the 4 MiB transaction budget, so with :overflow-write? false (the default) a batch such as Datahike's commit, one large index node among many small ones, failed with :konserve.dynamodb/overflow-disabled although every item and the whole batch fit DynamoDB's limits. The batch is now planned as a whole: values stay inline while each fits the item limit and the batch fits the transaction; with overflow writes enabled the largest move out until it does.

Added

  • Paged key listing and native batch deletion for GC sweeps. The DynamoDB backing implements konserve's PKeyPageBackingStore (one Scan page at a time, key attribute only, the last key as cursor) and PBatchDeleteBackingStore (BatchWriteItem deletes, 25 keys per request, unprocessed items retried with bounded backoff and then reported as failed). konserve.gc/sweep! and k/batch-dissoc use them instead of listing the whole table with k/keys and deleting through 100-key transactions. Requires konserve 0.9.407+.
  • Read-miss-safe reads (one GetItem, no probe). The DynamoDB backing implements konserve's PReadMissSafe and -read-header throws store-key-not-found-ex when GetItem returns no item (an absent key has no "Header"). On a konserve that supports the marker the redundant -blob-exists? GetItem probe is dropped, so a read is a single GetItem, and read-modify-write ops (update-in / assoc-in / bassoc) skip it too. Requires konserve 0.9.354+.

Changed

  • konserve 0.9.342 → 0.9.354 → 0.9.407.

Fixed

  • multi-dissoc deletes every requested key. It used to pre-read the keys with the store's read consistency (eventual by default) and delete only the keys that read found, so a key written just before could stay stored while it was reported as deleted. Every requested key is now deleted in the transaction; the strongly consistent pre-read only reports which keys existed.
  • CI now runs the compliance suite (sync + async) against a DynamoDB Local service container, plus a smoke load-check that catches a stale konserve pin; the release is gated on both.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close