Currently, the data store update is replaced with a history store one in two locations:
- Rollback to stable
- Aborting a prepared update
The history store record is retrieved using the history store cursor. From the history store cursor, we didn't receive the original transaction id that is performed the operation as they will be stored only in the cell. So the updates that are formed on the data store without a transaction id.
This shouldn't be a problem for rollback to stable operation as there are no concurrent transactions when performing rollback to stable, but it is not the same for prepared.