bufferManager添加了writeIndexData