[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

Status: Closed
Project: Couchbase Server
Component/s: clients, documentation
Affects Version/s: 1.7.2, 1.8.0
Fix Version/s: 1.8.1
Security Level: Public

Type: Bug Priority: Major
Reporter: Farshid Ghods (Inactive) Assignee: MC Brown (Inactive)
Resolution: Won't Fix Votes: 0
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 (Inactive) [ 26/May/12 ]
"make test" in "pecl-memcached extension" , "libmemcached" and "spymemcached" run flush
Generated at Thu Dec 18 05:51:53 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.