!4582 【资源池化】SPQ修复mdcache失效问题
Merge pull request !4582 from 阙鸣健/spq_1127
This commit is contained in:
@ -1416,6 +1416,9 @@ static void knl_u_spq_init(knl_u_spq_context* spq_cxt)
|
||||
spq_cxt->spq_opt_initialized = false;
|
||||
spq_cxt->remoteQuerys = NIL;
|
||||
spq_cxt->snapshot = (SnapshotData*)palloc0(sizeof(SnapshotData));
|
||||
spq_cxt->mdcache_invalidation_counter_registered = false;
|
||||
spq_cxt->mdcache_invalidation_counter = 0;
|
||||
spq_cxt->last_mdcache_invalidation_counter = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@ -2753,6 +2753,9 @@ typedef struct knl_u_spq_context {
|
||||
spqos::CWorkerPoolManager* m_worker_pool_manager;
|
||||
/* mdcache */
|
||||
spqos::CCache<spqmd::IMDCacheObject *, spqopt::CMDKey *> *m_pcache;
|
||||
bool mdcache_invalidation_counter_registered;
|
||||
int64 mdcache_invalidation_counter;
|
||||
int64 last_mdcache_invalidation_counter;
|
||||
/* cache factory */
|
||||
spqos::CCacheFactory* m_factory;
|
||||
spqos::CMessageRepository *m_repository;
|
||||
|
||||
Reference in New Issue
Block a user