問題タブ [atomicinteger]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
177 参照

atomic - Hazelcast AtomicLong データ損失 複数のメンバーが離れた場合

複数のメンバーがクラスターから切断されると、Hazelcast が失敗します。私のシナリオは非常に基本的で、構成には 3 つの bakcup オプションがあります (機能しません)。クラスターに 4 つのメンバーがあり、AtomicLong API を使用してキー -> 値を保存しています。メンバー全員が生きていれば、すべてが完璧です。ただし、2人のメンバーを同時に(しばらく待たずに)殺すと、データの損失が発生します。メンバー数は常に 4 です。この種のデータ損失を回避する方法はありますか?

ありがとう。