You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "rpuch (via GitHub)" <gi...@apache.org> on 2025/04/15 14:55:07 UTC
[PR] IGNITE-25142 Do not acquire zone write lock on node recovery [ignite-3]
rpuch opened a new pull request, #5644:
URL: https://github.com/apache/ignite-3/pull/5644
https://issues.apache.org/jira/browse/IGNITE-25142
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-25142 Do not acquire zone write lock on node recovery [ignite-3]
Posted by "sashapolo (via GitHub)" <gi...@apache.org>.
sashapolo commented on code in PR #5644:
URL: https://github.com/apache/ignite-3/pull/5644#discussion_r2046234039
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java:
##########
@@ -505,15 +505,17 @@ private CompletableFuture<Boolean> onCreateZone(CreateZoneEventParameters create
return calculateZoneAssignmentsAndCreateReplicationNodes(
createZoneEventParameters.causalityToken(),
createZoneEventParameters.catalogVersion(),
- createZoneEventParameters.zoneDescriptor()
+ createZoneEventParameters.zoneDescriptor(),
+ false
).thenApply(unused -> false);
});
}
private CompletableFuture<Void> calculateZoneAssignmentsAndCreateReplicationNodes(
long causalityToken,
int catalogVersion,
- CatalogZoneDescriptor zoneDescriptor
+ CatalogZoneDescriptor zoneDescriptor,
+ boolean nodeRecovery
Review Comment:
We already have similar methods with this parameter being called `boolean onNodeRecovery`. I would suggest to make them all have the same name (either your variant or the other)
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-25142 Do not acquire zone write lock on node recovery [ignite-3]
Posted by "rpuch (via GitHub)" <gi...@apache.org>.
rpuch merged PR #5644:
URL: https://github.com/apache/ignite-3/pull/5644
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org