You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "Kartikk1999 (via GitHub)" <gi...@apache.org> on 2024/08/14 05:54:56 UTC

[I] Assistance Needed with Master-Slave Configuration and Preload Modes [ignite]

Kartikk1999 opened a new issue, #11476:
URL: https://github.com/apache/ignite/issues/11476

   I am reaching out regarding a critical bug in my application currently running in production. The setup consists of three servers, where one server (the master node) is connected to the database, and the other two servers (slave nodes) join the cluster to replicate data from the master node.
   
   Recently, our system experienced downtime, during which the master node was down for a few minutes. After the master node came back online, instead of loading the latest data from the database, it joined the cluster and inadvertently copied stale data from the other nodes.
   
   Here are the approaches I’ve tried so far to resolve this issue:
   
   Set the cache rebalance mode to NONE on the master node and ASYNC on the slave nodes.
   Attempted dynamic master assignment using:
   ignite.services().deployClusterSingleton("DatabaseSyncService", new DatabaseSyncService(vertx, routerService, emiService));
   Tried using backups, but this did not help since the service and database connectivity were lost when the master node went down.
   Despite these efforts, the issue persists. I would greatly appreciate any guidance or suggestions to resolve this problem.


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Assistance Needed with Master-Slave Configuration and Preload Modes [ignite]

Posted by "shishkovilja (via GitHub)" <gi...@apache.org>.
shishkovilja commented on issue #11476:
URL: https://github.com/apache/ignite/issues/11476#issuecomment-2293888478

   @Kartikk1999 , generally speaking, Ignite does not have master nodes, because all data is distributed uniformly. For in-memory cluster rebalance is performed automatically. 
   
   What do you mean as 'stale' data? What is your cache and cluster configuration?


-- 
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: [I] Assistance Needed with Master-Slave Configuration and Preload Modes [ignite]

Posted by "sk0x50 (via GitHub)" <gi...@apache.org>.
sk0x50 commented on issue #11476:
URL: https://github.com/apache/ignite/issues/11476#issuecomment-2298056121

   It seems that the answer to this question was given here https://stackoverflow.com/questions/78865906/assistance-needed-with-master-slave-configuration


-- 
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: [I] Assistance Needed with Master-Slave Configuration and Preload Modes [ignite]

Posted by "sk0x50 (via GitHub)" <gi...@apache.org>.
sk0x50 closed issue #11476:  Assistance Needed with Master-Slave Configuration and Preload Modes
URL: https://github.com/apache/ignite/issues/11476


-- 
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