parse redis rdb file, sync data between redis master and slave