storage: `if` -> `switch`, remove needless lock
storage: `if` -> `switch`, remove needless lock

vivekmenezes/cockroach,veteranlu/cockroach,veteranlu/cockroach,arjun4084346/cockroach,petermattis/cockroach,vaibhavarora/cockroach,maxlang/cockroach,paperstreet/cockroach,petermattis/cockroach,cockroachdb/cockroach,paperstreet/cockroach,petermattis/cockroach,arjun4084346/cockroach,paperstreet/cockroach,paperstreet/cockroach,sunya123/cockroach,cockroachdb/cockroach,sunya123/cockroach,cockroachdb/cockroach,veteranlu/cockroach,glycerine/cockroach,sunya123/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,glycerine/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,petermattis/cockroach,glycerine/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,sunya123/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,maxlang/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,petermattis/cockroach,sunya123/cockroach,petermattis/cockroach,paperstreet/cockroach,glycerine/cockroach,sunya123/cockroach,maxlang/cockroach,vivekmenezes/cockroach,vivekmenezes/cockroach,maxlang/cockroach,vaibhavarora/cockroach,maxlang/cockroach,arjun4084346/cockroach,veteranlu/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,maxlang/cockroach,paperstreet/cockroach,petermattis/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,petermattis/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,maxlang/cockroach,glycerine/cockroach,veteranlu/cockroach,maxlang/cockroach,vaibhavarora/cockroach,veteranlu/cockroach,sunya123/cockroach,sunya123/cockroach,paperstreet/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,glycerine/cockroach,arjun4084346/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,glycerine/cockroach,glycerine/cockroach,cockroachdb/cockroach,arjun4084346/cockroach