for (WriteCommand c : prepareCommand.getModifications()) {
for (Object k : c.getAffectedKeys()) {
if (ksl.performCheckOnKey(k)) {
ClusteredRepeatableReadEntry entry = (ClusteredRepeatableReadEntry) context.lookupEntry(k);
if (entry.performWriteSkewCheck(dataContainer, context, prepareCommand.getVersionsSeen().get(k), versionGenerator)) {
//in total order, it does not care about the version returned. It just need the keys validated
uv.put(k, null);
} else {
// Write skew check detected!
throw new WriteSkewException("Write skew detected on key " + k + " for transaction " + context.getTransaction(), k);