Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Table list caching Partition class #6

Open
codeactual opened this issue Apr 17, 2009 · 1 comment
Open

Table list caching Partition class #6

codeactual opened this issue Apr 17, 2009 · 1 comment

Comments

@codeactual
Copy link
Owner

Currently a ‘tablelist’ group key is invalidated at the end of methods like
createTable() and dropTable(), which at first seems excessive. But then
they do allow all getTableLike() caches to be invalidated when we don’t
know which of them should now, or does now, contain the created/dropped
table in question.

In any case, the Partition class’ cache use seems sub-optimal in general
should probably get some more eyes on it.

Filing this under Design since there isn’t a certain issue yet.

@codeactual
Copy link
Owner Author

Reminder: Methods like createTable() do not seed values of keys like tableExists()’s,
so the first lookup always misses.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant