QLDB Removing Document Updates when updating multiple documents within the same transaction.

0

I am commiting several updates to several documents within one transaction. I use the transaction id to the request those documents which have been updated.

If I commit an update with 3 changes to a single document it looks like it only creates a single document with last change reflected. I cannot force QLDB to record the changes as three separate document versions, which is what I want.

Is there some optimisation that happens on the updates Im sending or is there a way to force QLDB to create three versions of the document for each change. I want to track the changes individually, I dont want an optimised change?

Dan

preguntada hace 8 meses201 visualizaciones
1 Respuesta
0

Hello,

Thank you for using AWS QLDB.

QLDB records history per transaction. Anything executed between StartTransaction and CommitTransaction will have the same transactionId, hence users sees 1 history record. If the user would like to see multiple histories they can run multiple transactions in a QLDB session. [QLDB session lifecycle]

Hope my above response has helped and answered your query.

AWS
INGENIERO DE SOPORTE
respondido hace 8 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas