All notable, user-visible changes to konserve-gcs are documented here.
store-exists?, create-store, connect-store and delete-store call built
its own Storage client; connect-store through konserve.store built two and
closed neither until release. cloud-storage-client now returns one shared
client per :project-id and :host, as konserve-s3 does per endpoint.
release and delete-store used to close the store's client, including one
the caller had passed in under :client, which then failed under every other
store using it (a sibling store, or a reconnect). They no longer close anything.
Call konserve-gcs.core/shutdown-clients! on process exit to close the shared
clients; a client you pass in is yours to close.-store-exists?, which konserve now probes on every connect
(konserve#179). Creating or opening any store failed with
AbstractMethodError: CloudStorageBucket._store_exists_QMARK_ is abstract,
and Datahike's standalone server, which bundles konserve-gcs with konserve
0.9.394, could not create a :gcs database. -store-exists? now looks for
the store's marker object, the same one store-exists? uses.PReadMissSafe and its read path throws
store-key-not-found-ex on a genuine 404. On a konserve that supports the marker
the redundant -blob-exists? metadata .get is dropped, so a read is a single
object fetch, and read-modify-write ops (update-in / assoc-in / bassoc) skip
it too. Requires konserve 0.9.354+.0.9.342 → 0.9.354.0.9.376 → 0.9.394.taoensso.timbre to org.replikativ/logging — the
unified logging library used across the konserve backends. Log events are now
keyword-tagged (e.g. :konserve.gcs/creating-bucket).fake-gcs-server service container, plus a smoke load-check that catches a stale
konserve pin; the release is gated on both.Can you improve this documentation? These fine people already did:
Christian Weilbach & Mark AddlemanEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |