View Issue Details

IDProjectCategoryView StatusLast Update
0000372pgpool-HABugpublic2017-12-27 13:14
ReporterTohru Kobayashi Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
PlatformAWSOSUbuntuOS Version16.04
Summary0000372: can not purge cached query with multiple
Descriptionversion 3.6.7

I found pgpool-II can not purge cached query with multiple and on memory query cache(memcached).

If you use multiple pgpool-II over different server, there AREN'T share oids.
Because, pgpool-II has oids in local directory.

So, must purge queries WILLNOT purge.

I think oids should be stored in memcache/postgresql or oids directory is in NFS if use multiple pgpool-II and on memory query cache.
Steps To Reproduce1. set up pgpool1, pgpool2 with on memory query cache using memcached. oiddir is not share.
2. 'select * from hoges where id = 1' on pgpool1
3. "update hoges set name = 'fuga'" on pgpool2
4. 'select * from hoges where id = 1' on pgpool1. this is old cached result.
Tagsmemcached

Activities

t-ishii

2017-12-19 15:06

developer   ~0001873

Yes, that's a known issue and it's on our TODO list:
https://pgpool.net/mediawiki/index.php/TODO#Allow_to_use_multiple_pgpool-II_instances_with_in-memory_query_cache_enabled

t-ishii

2017-12-19 15:15

developer   ~0001874

BTW project name 'pgpool-HA' is not correct. You should use 'pgpool-II' instead.

t-ishii

2017-12-27 13:13

developer   ~0001882

I'm going to close this issue. If you feel to retain this issue, please open new one in the "pgpool-II" category.

Issue History

Date Modified Username Field Change
2017-12-19 12:42 Tohru Kobayashi New Issue
2017-12-19 12:42 Tohru Kobayashi Tag Attached: memcached
2017-12-19 15:06 t-ishii Note Added: 0001873
2017-12-19 15:15 t-ishii Note Added: 0001874
2017-12-27 13:13 t-ishii Note Added: 0001882
2017-12-27 13:14 t-ishii Status new => closed