maksaska commented on code in PR #13627:
URL: https://github.com/apache/ignite/pull/13627#discussion_r4540917956
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/rollingupgrade/feature/CoreFeatureRegistry.java:
##########
@@ -111,4 +111,10 @@ public class CoreFeatureRegistry {
/** Feature that introduces the snapshot list command. */
public static final IgniteFeature SNAPSHOT_LIST_FEATURE = new
IgniteCoreFeature(4);
+
+ /**
+ * Feature that makes only the node holding a partition write its state
after loss detection or after the node owns
+ * a partition that no node has. The other nodes take the state from that
node's partition map.
+ */
+ public static final IgniteFeature PART_STATE_FROM_OWNER_FEATURE = new
IgniteCoreFeature(5);
Review Comment:
Fixed
##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IndexingCachePartitionLossStaleMapTest.java:
##########
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.internal.processors.cache;
+
+import org.apache.ignite.Ignite;
+import org.apache.ignite.cache.query.SqlFieldsQuery;
+import org.apache.ignite.configuration.CacheConfiguration;
+import org.apache.ignite.configuration.IgniteConfiguration;
+import
org.apache.ignite.internal.processors.cache.distributed.CachePartitionLossStaleMapTest;
+import org.junit.Ignore;
+import org.junit.Test;
+
+/**
+ * Runs {@link CachePartitionLossStaleMapTest} with a SQL query. A query fails
if the node that runs it sees a partition
+ * without an owner for the whole SQL retry timeout, 30 s by default.
+ */
+public class IndexingCachePartitionLossStaleMapTest extends
CachePartitionLossStaleMapTest {
Review Comment:
Removed together with runQuery() and the ignored case
--
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]