Subject Re: [Firebird-Architect] Synchronizing DSQL Metadata Caches in CS
Author Ann W. Harrison
Adriano dos Santos Fernandes wrote:
>
> A new lock is created (dsql_cache_lock), and when one starting reading
> the cache, it acquires a shared lock on dsql_cache_lock and get a flag
> indicating if the cache is obsolete.
> ...
>
> Comments? Suggestions? Objections?
>

I'm not wild about invalidating the whole cache for every
metadata change. Would it be possible to have a cache_lock
for each object so only those objects change would need to
be refreshed?

Regards,


Ann