ibessonov commented on a change in pull request #76:
URL: https://github.com/apache/ignite-3/pull/76#discussion_r605453999
##########
File path:
modules/configuration/src/main/java/org/apache/ignite/configuration/ConfigurationChanger.java
##########
@@ -313,8 +339,18 @@ private void change0(
fut.completeExceptionally(new
ConfigurationChangeException("Failed to change configuration", throwable));
else if (casResult)
fut.complete(null);
- else
+ else {
+ try {
+ // Is this ok to have a busy wait on concurrent
configuration updates?
+ // Maybe we'll fix it while implementing metastorage
storage implementation.
+ Thread.sleep(10);
+ }
+ catch (InterruptedException e) {
+ fut.completeExceptionally(e);
Review comment:
Because this is the future that we already returned to the user and he's
waiting on it. I hope I got it right
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]