[MB-5386] some of the legacy sdk libraries call flush against localhost:11210/11211 if developer runs "make test" Created: 26/May/12 Updated: 09/Jan/13 Resolved: 30/May/12
|Affects Version/s:||1.7.2, 1.8.0|
|Reporter:||Farshid Ghods||Assignee:||MC Brown|
|Labels:||1.7.2-release-notes-docced, 1.8.0-release-notes, 1.8.0-release-notes-docced, 1.8.1-release-notes|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
if user builds and tests the sdk library on the same machine as the production environment and they run "make test" or run some of the unit tests its possible that the test invokes flush against port 11211 or 11210 and if production cluster has non-secure bucket "default" without a password it will flush the entire data from memory to disk and user can eventually lose data if they dont have backup to restore from.
in 1.8.1 release we are disabling flush command by default . user can enable flush by using cbflushctl command.
|Comment by Farshid Ghods [ 26/May/12 ]|
|"make test" in "pecl-memcached extension" , "libmemcached" and "spymemcached" run flush|