Skip to content

Commit

Permalink
IGNITE-17834 Fixed. (apache#1168)
Browse files Browse the repository at this point in the history
Signed-off-by: alapin <lapin1702@gmail.com>
Co-authored-by: sanpwc <alapin@gridgain.com>
  • Loading branch information
2 people authored and lowka committed Apr 19, 2023
1 parent 47ae1c2 commit 785f0bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

/**
* Replica response interface with a timestamp to adjust a hybrid logical clock.
* TODO:IGNITE-17258 Add a specific response type for a replica listener. (@Transferable(ReplicaMessageGroup.TYPE_RESPONSE))
*/
@Transferable(ReplicaMessageGroup.TIMESTAMP_AWARE_REPLICA_RESPONSE)
public interface TimestampAwareReplicaResponse extends ReplicaResponse, TimestampAware {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ private RaftGroupOptions groupOptionsForPartition(
raftGroupOptions = RaftGroupOptions.forPersistentStores();
}

//TODO Revisit peers String representation: https://issues.apache.org/jira/browse/IGNITE-17420
//TODO Revisit peers String representation: https://issues.apache.org/jira/browse/IGNITE-17814
raftGroupOptions.snapshotStorageFactory(new PartitionSnapshotStorageFactory(
raftMgr.topologyService(),
//TODO IGNITE-17302 Use miniumum from mv storage and tx state storage.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.CopyOnWriteArrayList;
import org.apache.ignite.internal.logger.IgniteLogger;
import org.apache.ignite.internal.logger.Loggers;
import org.apache.ignite.internal.tx.InternalTransaction;
Expand All @@ -54,10 +55,10 @@ public class TransactionImpl implements InternalTransaction {
private final TxManager txManager;

/** Enlisted replication groups: replication group id -> (primary replica node, raft term). */
private Map<String, IgniteBiTuple<ClusterNode, Long>> enlisted = new ConcurrentSkipListMap<>();
private final Map<String, IgniteBiTuple<ClusterNode, Long>> enlisted = new ConcurrentSkipListMap<>();

/** Enlisted operation futures in this transaction. */
private volatile List<CompletableFuture<?>> enlistedResults = new ArrayList<>();
private final List<CompletableFuture<?>> enlistedResults = new CopyOnWriteArrayList<>();

/**
* The constructor.
Expand Down

0 comments on commit 785f0bd

Please sign in to comment.