store: introduce generation and tombstone for index