tags()->flush() does not work
delatbabel opened this issue · 2 comments
Hi,
I built this sample app with a Laravel console command: https://github.com/delatbabel/cachetest
After I put exception handlers into LegacyCouchbaseStore in the forever() and forget() functions (otherwise forget() throws an exception trying to forget a key that does not exist), I am still having one issue. In the Cache tag forget test I am doing this:
Cache::tags(['testone', 'testtwo'])->put('testthree', $random_value, 60);
Cache::tags(['testone', 'testtwo'])->flush();
$value_to_check = Cache::tags(['testone', 'testtwo'])->get('testthree');
and it appears that the flush() does nothing because I can still retrieve the value using get() after it has been flushed().
Testing against memcached and redis caches does not show the same issue.
please use 0.2.1
Hi, I updated to version 0.2.1 but this doesn't appear to have helped. I have verified that I have libcouchbase 2.5.8 and also php-pecl-couchbase v2.2.0-beta2 installed from the sources but I get the same error.