#40 Chunkserver crash when copying big file using FUSE

open
nobody
chunkserver (8)
5
2009-07-24
2009-07-24
Anonymous
No

I 've got simple configuration:
NODE1: chunkserver
NODE2: metaserver, chunkserver, cluster mounted with FUSE using command:
./kfs_fuse /mnt/kfs_fuse -f

I do the following:
cat /dev/zero > /mnt/kfs-fuse/test
ctrl+c (when file has few dozens MB)
cp /mnt/kfs-fuse/test /mnt/kfs-fuse/test2

And I get messages like:
07-24-2009 12:21:45.010 INFO - (KfsWrite.cc:472) Write failed...chunk = 9, version = 1, offset = 16781312, error = -113
07-24-2009 12:21:45.010 INFO - (KfsWrite.cc:304) Daisy-chain: 10.132.4.111 30000 10.132.4.135 30000 ; Will retry allocation/write on chunk 9 due to error code: -113
07-24-2009 12:24:44.985 INFO - (KfsWrite.cc:312) Re-allocation on chunk 9 failed because of error code = -16

Last command crashes both chunkservers.
Their output contains:
chunkserver: /root/kosmosfs/trunk/src/cc/chunk/ChunkManager.cc:1248: void KFS::ChunkManager::ReadChunkDone(KFS::ReadOp*): Assertion `op->dataBuf->BytesConsumable() >= (int) CHECKSUM_BLOCKSIZE' failed.

Discussion

  • Problem exists in trunk version of kfs (rev 362)