Fork自 taosdata / TDengine
remove the RPC warnings
vnodeWrite.c does not include dnode.h
move some functions in dnode into vnodeMain.c and vnodeWrite.c