snapshot support erase by key-value pair, and supports erasing only first match