-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rocksdb-3.1 "make check" error #167
Comments
Which platform are you running on? Linux? |
This is interesting, looks like ftruncate() call doesn't do the right thing on your system. This is not a big issue. You can still run RocksDB, it just might have some small storage overhead. |
Hi Siying, |
cat /etc/redhat-release |
I've also run into a 'make check' error though in a different place. git log -1: commit 593bb2c
|
@doktorstick maybe it is a timing issue? How about change from "kGCNumKeys = 1000" to a larger number and see whether it passes? |
@clare2014 like what @igorcanadi said, I don't think it is an important test. It's totally fine to just have it disabled. |
@siying It passed at |
Close the issue for now as we are currently at 3.6.2, but please feel free to reopen it if you're using 3.1 and think this issue should be addressed. |
…acebook#167) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]>
…acebook#167) (facebook#168) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]>
…acebook#167) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]> Signed-off-by: tabokie <[email protected]>
…acebook#167) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]> Signed-off-by: tabokie <[email protected]> (cherry picked from commit 63586f2)
…acebook#167) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]> Signed-off-by: tabokie <[email protected]> (cherry picked from commit 63586f2)
…acebook#167) Summary: Fix NewRandomRWFile and ReuseWritableFile misuse of `GetFile()` and `NewFile()`. See inline comments. Test Plan: manual test with tikv Signed-off-by: Yi Wu <[email protected]> (cherry picked from commit 2360562)
Added three functions to support switching cloud manifest during leader election. * ApplyLocalCloudManifestDelta will update local CM/M based on the delta changes. * UploadLocalCloudManifest will upload local CM/M to s3. * NewManifestOnNextUpdate will make next manifest update to reset descriptor_log_ and write latest snapshot of VersionSet to a new MANIFEST file On leader, during leader election, we will (assuming state=RUNNING): ``` new_epoch = tryBecomeLeader() ApplyLocalCloudManifestDelta(new_cookie) CAS new_cookie UploadLocalCloudManifest() NewManifestOnNextUpdate() Generate kNewEpoch with the delta ``` On follower, once it gets the kNewEpoch event, it will ``` ApplyLocalCloudManifestDelta(new_cookie) NewManifestOnNextUpdate() ```
I recently installed the latest release 3.1 on a new system but encountered the following error in "make check" step. Any advice?
==== Test EnvPosixTest.RandomAccessUniqueID
==== Test EnvPosixTest.AllocateTest
util/env_test.cc:508: failed: 204800 > 204800
#0 ./env_test() [0x40d6f9] ~basic_string /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:536
#1 ./env_test() [0x414e0e] ~basic_string /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:536
#2 ./env_test() [0x50cf36] rocksdb::test::RunAllTests() /root/rocksdb/rocksdb-rocksdb-3.1/util/testharness.cc:48
#3 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7fd437fb7d1d] ?? ??:0
#4 ./env_test() [0x4076f5] _start ??:0
make: *** [check] Error 1
The text was updated successfully, but these errors were encountered: