You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we read the log carefully , there is always a write failure before the restart. I cannot tell if the write failure is exactly the metablk as we dont log the offset of the metablk, but the length do match.
EINVAL
fd is attached to an object which is unsuitable for writing; or the file was opened with the O_DIRECT flag, and either the address specified in buf, the value specified in count, or the current file offset is not suitably aligned.
I believe it is our issue not env issue. I checked the offset is align to 4K, size align to 512, but not sure if the buffer is aligned, also the offset is well below 1GB so unlikely we are hitting any size boundary . Regarding logs, suggesting more logs in iomgr regarding the write failure, especially dump the buffer address as well as the FD open flag.
But as we get CRC mismatch, that means we probably get a partial write. This is much easier to happen compare to bit rot.
/home/runner/.conan/data/homestore/6.0.1///build/64eb2822c4463ffd57405ab6c52e9954705502c6/src/lib/meta/meta_blk_service.cpp:1126: void homestore::MetaBlkService::recover_meta_block(homestore::meta_blk*): Assertion `0' failed.
[03/25/24 19:47:05+00:00] [critical] [test_meta_blk_mgr] [7169] [meta_blk_service.cpp:1126] ******************** Assertion failure: =====> Expected '726044547' to be == to '3060308851' [type=Test_Rand_Load], CRC mismatch: 726044547/3060308851, on mblk bid: blk#=158081 count=1 chunk=0, context_sz: 152064
https://github.com/eBay/HomeStore/actions/runs/8423765023/job/23072604152
It can also be hit in local build machine
The text was updated successfully, but these errors were encountered: