We are using Master-Master replication as our application is deployed on 2 servers in a load balance environment. We want to execute some local machine related code when a specific document is created/edited.
The idea is to replicate data and some trigger will execute same code but on local respective machines (A&B). So we have put an IDocumentStoreListener and it works fine. Example:
user clicks save on UI while on server A, Listener is executed on A, Data is saved on A and replicated to Server B. But listener on B is not invoked
Question is does this listener will execute on server B?
My understanding from the documents is that it will not be executed on B but my boss feels I may have missed some hook or needs confirmation that listener in this scenario will not work on B
Thanks,