kvstack Key-Value Store driver

The kvstack key value store composes multipple underlying kvstores into a composite kvstore view, where each base kvstore is mapped to a key ranges, prefix, or exact key files.

  • If the key ranges of the layers overlap, the last layer takes precedence.

json kvstore/kvstack : object

Stack (overlay) driver for key value store mapping.

JSON specification of the key-value store.

Extends:
  • KvStore — Key-value store specification.

Required members:
driver : "kvstack"
layers : [object]

Array of KvStore layer mappings

An ordered list of mappings from a key or range to a base kvstore driver.

Optional members:
path : string

Key prefix within the key-value store.

If the prefix is intended to correspond to a Unix-style directory path, it should end with "/".

context : Context

Specifies context resources that augment/override the parent context.