jrgemignani opened a new pull request, #2248:
URL: https://github.com/apache/age/pull/2248
Fixed issue 2245 - Creating more than 41 vlabels causes drop_grapth to fail
with "label (relation) cache corrupted" and crashing out on the following
command.
This was due to corruption of the label_relation_cache during the
HASH_DELETE process.
As the issue was with a cache flush routine, it was necessary to fix them
all. Here is the list of the flush functions that were fixed -
static void flush_graph_name_cache(void)
static void flush_graph_namespace_cache(void)
static void flush_label_name_graph_cache(void)
static void flush_label_graph_oid_cache(void)
static void flush_label_relation_cache(void)
static void flush_label_seq_name_graph_cache(void)
Added regression tests.
modified: regress/expected/catalog.out
modified: regress/sql/catalog.sql
modified: src/backend/utils/cache/ag_cache.c
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]