I have a two vault instances running on two separate servers each with its own mysql database(HA not enabled). Both mysql databases have master-master replication enabled on them. So changes on one vault(V1) instance for example adding a new secret is immediately reflected in the database(both V1 and V2 database have same number of rows after the change) of other vault instance(V2). But when I try using cli or api to get the secret on the other vault instance(V2) its not returned.
It only reflected after vault service is restarted on V2.
I need to know how I can change this behavior and make the secret immediately available on the second instance. restarting the service each time is not really an option.
Any help would be highly appreciated.