# Best way to create alternate index entries that honor a transaction

**URL:** <https://forums.foundationdb.org/t/best-way-to-create-alternate-index-entries-that-honor-a-transaction/4120>\
**Category:** Development\
**Created:** [August 23, 2023, 12:39am UTC](https://forums.foundationdb.org/t/best-way-to-create-alternate-index-entries-that-honor-a-transaction/4120 "2023-08-23T00:39:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![don2clouds](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@don2clouds](https://forums.foundationdb.org/u/don2clouds)\
**Post date:** [August 23, 2023, 12:39am UTC](https://forums.foundationdb.org/t/best-way-to-create-alternate-index-entries-that-honor-a-transaction/4120/1 "2023-08-23T00:39:48Z")

</div>

Hi,

I would like to create/update/delete index entries within the boundaries of a transaction. I took a look at TLogServer. I was curious if any one had a better place to look in to hooking in to the transaction? My hope is to obviously have the alternate index updates honor and influence the transaction. For example, rollback the transaction if the alternate index update fails. FYI this index will not be a btree it will be a different file format.

Thanks for any assistance/input you can provide.
