How to terminate a cache process while caching is in progress.

How to terminate a cache process while caching is in progress.

book

Article ID: KB0081643

calendar_today

Updated On:

Description

Question: How to terminate a cache process while caching is in progress.

Issue/Introduction

How to terminate a cache process while caching is in progress.

Resolution

Fix/Solution:

There is no in-built technique to cancel the data resource while refresh under progress.

There exists a enhancement request case CIS-29487 (Cache Refresh - need a way to cancel a cache refresh using admin api).

We tried to implement this feature but had foreseen several difficulties:

1)Current API does not track which user submitted which cache refresh task. There may be permission problem.

2)Cache refresh needs to work in clusters. So at least a new cache cluster message is needed to check each cluster node about the cancelling.
3)Cancelling a query request may not work for all databases. So we are preparing comprehensive design to incorporate this feature.