Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…cubator-ignite into ignite-24

Conflicts:
	modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemandPool.java
	modules/core/src/test/java/org/apache/ignite/session/GridSessionLoadSelfTest.java
  • Loading branch information
Yakov Zhdanov committed Jan 27, 2015
1 parent 8bef53e commit b910a4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Expand Up @@ -1177,8 +1177,7 @@ private void send(
boolean ordered,
long timeout,
boolean skipOnTimeout
)
throws IgniteCheckedException {
) throws IgniteCheckedException {
assert nodes != null;
assert topic != null;
assert msg != null;
Expand Down
Expand Up @@ -569,6 +569,8 @@ public Object topic(long idx) {
*/
private Set<Integer> demandFromNode(ClusterNode node, final long topVer, GridDhtPartitionDemandMessage<K, V> d,
GridDhtPartitionsExchangeFuture<K, V> exchFut) throws InterruptedException, IgniteCheckedException {
GridDhtPartitionTopology<K, V> top = cctx.dht().topology();

cntr++;

d.topic(topic(cntr));
Expand Down Expand Up @@ -690,7 +692,7 @@ private Set<Integer> demandFromNode(ClusterNode node, final long topVer, GridDht
int p = e.getKey();

if (cctx.affinity().localNode(p, topVer)) {
GridDhtLocalPartition<K, V> part = cctx.dht().topology().localPartition(p, topVer, true);
GridDhtLocalPartition<K, V> part = top.localPartition(p, topVer, true);

assert part != null;

Expand Down Expand Up @@ -734,7 +736,7 @@ private Set<Integer> demandFromNode(ClusterNode node, final long topVer, GridDht
if (last) {
remaining.remove(p);

cctx.dht().topology().own(part);
top.own(part);

if (log.isDebugEnabled())
log.debug("Finished preloading partition: " + part);
Expand Down
Expand Up @@ -60,7 +60,7 @@ public class GridTaskProcessor extends GridProcessorAdapter {
private final IgniteMarshaller marsh;

/** */
public final ConcurrentMap<IgniteUuid, GridTaskWorker<?, ?>> tasks = GridConcurrentFactory.newMap();
private final ConcurrentMap<IgniteUuid, GridTaskWorker<?, ?>> tasks = GridConcurrentFactory.newMap();

/** */
private boolean stopping;
Expand Down
Expand Up @@ -27,7 +27,6 @@
import org.apache.ignite.marshaller.*;
import org.apache.ignite.resources.*;
import org.apache.ignite.internal.managers.deployment.*;
import org.apache.ignite.internal.processors.job.*;
import org.apache.ignite.internal.processors.timeout.*;
import org.apache.ignite.internal.util.typedef.*;
import org.apache.ignite.internal.util.typedef.internal.*;
Expand Down

0 comments on commit b910a4c

Please sign in to comment.