On Wed, Dec 04, 2024 at 03:24:55PM +0000, Bertrand Drouvot wrote: > Thanks! I've the feeling that something has to be fixed, see my comments in > [1]. It might be that the failed assertion does not handle a "valid" scenario. > > [1]: > https://www.postgresql.org/message-id/Z1BzI/eMTCOKA%2Bj6%40ip-10-97-1-34.eu-west-3.compute.internal
It's really a case that should never be reached because it points to an inconsistency in the interactions between the local entry cache in a process and the central dshash it attempts to point to, so I don't think that there is anything to change here. As Andres has mentioned, it has a lot of value by acting as a safety guard in assert builds without being annoying for production deployments. -- Michael
signature.asc
Description: PGP signature