shishkovilja commented on code in PR #13466:
URL: https://github.com/apache/ignite/pull/13466#discussion_r3785254018


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearPessimisticTxPrepareFuture.java:
##########
@@ -205,29 +205,14 @@ private MiniFuture miniFuture(int miniId) {
      * @param writes Writes.
      * @return Request.
      */
-    private GridNearTxPrepareRequest createRequest(Map<UUID, Collection<UUID>> 
txNodes,
+    private GridNearTxPrepareRequest createRequest(
+        Map<UUID, Collection<UUID>> txNodes,
         GridDistributedTxMapping m,
         long timeout,
         Collection<IgniteTxEntry> reads,
-        Collection<IgniteTxEntry> writes) {
-        GridNearTxPrepareRequest req = new GridNearTxPrepareRequest(
-            futId,
-            tx.topologyVersion(),
-            tx,
-            timeout,
-            reads,
-            writes,
-            m.hasNearCacheEntries(),
-            txNodes,
-            true,
-            tx.onePhaseCommit(),
-            tx.needReturnValue() && tx.implicit(),
-            tx.implicitSingle(),
-            m.explicitLock(),
-            tx.taskNameHash(),
-            false,
-            true,
-            tx.txState().recovery());
+        Collection<IgniteTxEntry> writes
+    ) {
+        GridNearTxPrepareRequest req = createPrepareRequest(txNodes, m, reads, 
writes, timeout, true, tx.onePhaseCommit(), false, true);

Review Comment:
   Very long line, let's fix it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to