Created
May 7, 2019 23:20
-
-
Save ajkr/053b51bb97d5a8957136b2a8cf885c71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "x ==> y" | ./ldb write_extern_sst --db=./tmp ./tmp.sst | |
external SST file written to ./tmp.sst | |
$ strace -ye openat,fsync ./ldb ingest_extern_sst --create_if_missing --db=./tmp ./tmp.sst |& grep -E 'fsync|O_CREAT.*sst' | |
fsync(4</home/andrew/rocksdb/tmp>) = 0 | |
fsync(16</home/andrew/rocksdb/tmp/OPTIONS-000122.dbtmp>) = 0 | |
openat(AT_FDCWD, "./tmp/000124.sst", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 17</home/andrew/rocksdb/tmp/000124.sst> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment