batchStoreCommit(writeMap().values());
try {
cctx.tm().txContext(this);
GridDrType drType = cctx.isDrEnabled() ? DR_PRIMARY : DR_NONE;
long topVer = topologyVersion();
/*
* Commit to cache. Note that for 'near' transaction we loop through all the entries.