Hi Leo,
Thank you for your input.
Before asking the question to the community, I checked the HVDB database but I was unable to find a table where that cache could be stored. Just for information, do you have any idea of the table/field used for that cache ?
Thanks for clearing that point, for a moment we were afraid that that cache could have been local to the appliance!
Regards,
André
------------------------------
André Leruitte
------------------------------
Original Message:
Sent: Mon July 15, 2019 01:09 AM
From: Leo Farrell
Subject: IDMappingExtUtils.getIDMappingExtCache
Hi Andre,
The IDMappingExtCache is backed by the HVDB. In a clustered environment the internal HVDB is managed by the cluster to replicate across masters, or if the HVDB is external then HA is up to the external DBMS.
So yes, you can rely on this cache being consistent across nodes in a clustered environment.
I hope this helps with your understanding.
Thank you
Leo
------------------------------
Leo Farrell
Original Message:
Sent: Fri July 12, 2019 11:03 AM
From: André Leruitte
Subject: IDMappingExtUtils.getIDMappingExtCache
Hi,
We are using IDMappingExtUtils.getIDMappingExtCache() in an oauth context to store some information that needs to be injected along with every incoming oauth request.
We are wondering how does that cache works in a clustered environment. We have not seen any table in the runtime database that would allow sharing that cache between the different appliances in the cluster.
Could someone knowlegeable explain to us how exactly this cache works in a clustered environment? Can we rely on it ?
Regards,
André
------------------------------
André Leruitte
------------------------------