Conversation
|
@VicDeo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @butonic and @bantu to be potential reviewers. |
|
@PVince81 IMO backport is required as it affects upgrade |
|
Jenkins's dead: |
|
Makes sense 👍 You might need to rebase to revive Jenkins. |
|
@PVince81 rebased, tests are passed |
|
👍 nice find @VicDeo |
|
@VicDeo this can be tested using php5-apcu version 4.0.2 or it requires a newer one? |
|
Ok 4.0.2 cannot be used, using 4.0.7. |
|
@SergioBertolinSG I don't remember exact version but apcu is unrelated to the issue anyway. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Do not call
verifyReturnCodefor successful set operation.Related Issue
Fixes #25692
Motivation and Context
According to http://php.net/manual/en/memcached.set.php
Memcached::sethas a boolean result,but it can return
falseboth for unsuccessful operation and when it is called withfalseas a value http://php.net/manual/en/memcached.set.php#92259So there is no need to validate
Memcached::setwhen it returns true.Sometimes it misbehaves as in #25692
How Has This Been Tested?
install ownCloud 9.1.x ( into the following envronment:
PHP 5.5.9 + php-memcached extension + memcached server
Add to config.php:
Perform an integrity check
Perform an integrity check once again
See
"Exception":"Exception","Message":"Error 21 interacting with memcached : SERVER END","Code":0Repeat 4 & 5 Several times
Apply changes from this PR
Repeat 4. and see that 5. does not happen any more
Types of changes
Checklist: