Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Javars mongo リポジトリが 2 つの異なるコレクションにデータを格納していることがわかります。監査に Java を使用していて、ドメイン オブジェクトを別のコレクションに書き込んでいると仮定すると、これらの永続化操作全体で原子性がどのように維持されているのか疑問に思います。Javars は、2 つの内部コレクション間で健全性を維持するために、ある種の 2 フェーズ コミットを実行しますか? クライアント アプリケーションの永続化操作が監査ログと同期するためのフックを提供しますか?