KVRecordStore: implemented capped id tracking/oplog hacks