This PR adds a new IKeyValueStore.ExistsAsync method that checks if a given key exists in the store. BulkCopyToAsync and BulkCopyFromAsync extension methods for IKeyValueStore now include an overwrite parameter that controls the behaviour when copying if a destination key already exists.
The PR also updates the FASTER key/value store to track the memory footprint of the store (i.e. the index, in-memory log portion and read cache for the underlying FASTER store). This information is made available via metric instruments.
This PR adds a new
IKeyValueStore.ExistsAsync
method that checks if a given key exists in the store.BulkCopyToAsync
andBulkCopyFromAsync
extension methods forIKeyValueStore
now include anoverwrite
parameter that controls the behaviour when copying if a destination key already exists.The PR also updates the FASTER key/value store to track the memory footprint of the store (i.e. the index, in-memory log portion and read cache for the underlying FASTER store). This information is made available via metric instruments.