Details
Description
Motivation
UpdateAllCommand now has two maps:
Map<UUID, BinaryRowMessage> rowsToUpdate()
and
Map<UUID, Long> lastCommitTimestampsLong() and the keys in both maps denote to the same set of rows.
We can get rid of the duplication to reduce the size of the message if instead of two maps we had a single one where the new value class would contain both BinaryRowMessage and last row commit timestamp.
Implementation details
- BinaryRowMessage is used in many other places, perhaps we could subsclass it instead of adding more data to the message class itself.
- While implementing this task we need to be careful since currently a null BinaryRowMessage is a valid case when we perform DELETE. If we subclass BinaryRowMessage, we should also change the nullability of the row.
Attachments
Issue Links
- is caused by
-
IGNITE-20445 Clean up write intents for RW transaction on replication group nodes
- Resolved
- links to