GroupedSelection: Rows are refetched when cache is invalid [Closes #15]#59
GroupedSelection: Rows are refetched when cache is invalid [Closes #15]#59hranicka wants to merge 3 commits intonette:masterfrom hranicka:master
Conversation
|
Tests are failing… |
|
I think that problem #15 is implementation of But I still cannot find the reason why sometimes cache is not valid. Problem occurs SOMETIMES after deployment & cache clean-up & I've made the simpliest change now in I can't write tests for invalid cache. When I fixed the problem, previous tests with storage mock failed. |
|
My knowledge in poor too, I'll try to understand it, but it will not be soon… |
0fc7ac2 to
7194522
Compare
6c43c50 to
6690dde
Compare
See #15
Currently we use something like this patch in projects and it seems fine.
GroupedSelection::executerefetches data only whenisset($this->refCacheCurrent['data']) === TRUEbut sometimes this cache is empty and$this->rows === NULL-> I get errors described in #15
With this patch, it's OK.
I consider this code only as temporary fix. I don't know NDB too much.