This is an automated email from the ASF dual-hosted git repository.
tkalkirill pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new de7b7bc5e73 IGNITE-25492 Fix NPE for
DisasterRecoveryManager#localPartitionStates with collocation disabled (#5899)
de7b7bc5e73 is described below
commit de7b7bc5e73560ef86a847628fbe9aff2fc0af1f
Author: Kirill Tkalenko <[email protected]>
AuthorDate: Tue May 27 10:41:32 2025 +0300
IGNITE-25492 Fix NPE for DisasterRecoveryManager#localPartitionStates with
collocation disabled (#5899)
---
.../internal/table/distributed/disaster/DisasterRecoveryManager.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java
b/modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java
index 345a4f9e312..3fdcf3e9e65 100644
---
a/modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java
+++
b/modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java
@@ -598,6 +598,8 @@ public class DisasterRecoveryManager implements
IgniteComponent, SystemViewProvi
Set<Integer> partitionIds
) {
try {
+ assert enabledColocation() : "Zone based replication is
unavailable use localTablePartitionStates";
+
Catalog catalog = catalogLatestVersion();
return localPartitionStatesInternal(
@@ -624,6 +626,8 @@ public class DisasterRecoveryManager implements
IgniteComponent, SystemViewProvi
Set<Integer> partitionIds
) {
try {
+ assert enabledColocation() : "Zone based replication is
unavailable use globalTablePartitionStates";
+
Catalog catalog = catalogLatestVersion();
return localPartitionStatesInternal(