core icon indicating copy to clipboard operation
core copied to clipboard

Adding a piece of content flushes entire workflow cache

Open wezell opened this issue 13 years ago • 8 comments

When you add a piece of content in the back end, we flush the entire workflowstep and workflowtask caches.

2013-05-15 13:35:50,171 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:50,671 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:50,671 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:51,172 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:51,175 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:51,676 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:51,676 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:52,176 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:52,179 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:52,679 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:52,679 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:53,180 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:57,845 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:58,345 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:58,345 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:58,846 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:58,849 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:59,350 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:35:59,350 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:59,850 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:35:59,853 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:36:00,354 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowstepcache
2013-05-15 13:36:00,354 INFO  com.dotmarketing.cache.H2CacheLoader - Starting Region Cache Flush in h2 for /workflowtaskcache
2013-05-15 13:36:00,854 INFO  com.dotmarketing.cache.H2CacheLoader - Finished Region Cache Flush in h2 for /workflowtaskcache

wezell avatar May 15 '13 17:05 wezell

can't reproduce

dotjorgeu avatar May 31 '13 21:05 dotjorgeu

Just reproduced - add a breakpoint to the DotGuavaCacheAdministratorImpl.remove - we are sending in an empty key which is clearing the group

wezell avatar Jun 01 '13 01:06 wezell

QA make sure workflow and content work well

jtesser avatar Jun 03 '13 19:06 jtesser

Fixed, all the workflow works fine

bryanboza avatar Jul 10 '13 16:07 bryanboza

@Brian - Workflows just "working" is not the proper test for this issue - it is deeper than that. Please reach out to RnD on how to test or have RnD test this themselves.

dotcmsCodeReview avatar Jul 10 '13 16:07 dotcmsCodeReview

I am not sure how to test this issue. Please some one that can help me with how to test this?

bryanboza avatar Jul 10 '13 23:07 bryanboza

we will write a unit test in R&D

jtesser avatar Jul 11 '13 02:07 jtesser

Passed

bryanboza avatar Jul 30 '13 16:07 bryanboza