Code for Redis_2.6

Code for Redis_2.6
Code cleaning and code coverage is 56.28%(very low)