table: implement add_index and delete_index
table: implement slot accessing
table: implement read by index
amnesia: make sync/async dirty consistent with transaction