Just some random questions & suggestions----

In redis TCL tests, the r proc provides an easy access to servers, which is fantastic to use. However, the "select 9" can be easily forgotten when we [maybe only I :( ]are composing test cases like constructing aof files, or something else, which is annoying and frustrating. So, - why is there an "select 9" by default? Couldn't it be db 0 and switch to db 9 if needed? Please explain it in detail for me if you can, thank you! - Should we make some changes to change the default db from 9 to 0 when using r? If we should, can we? If we can, how to? - If we shouldn't or we can't, should we add something like "notes" or "cautions" into somewhere like codebase or dev-notes, for the newcomers, at least?

Comment From: oranagra

I think the reason the test suite uses db 9 by default, is exactly for that purpose (to be annoying). i.e. if it was automatic, or we used db 0, then it decrees the chances to spot some bugs. e.g. some notifications or module hooks that are always sent with db 0, or are missing an indication of the selected db.