summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* The master branch was renamed to main.masterVictor Costan2022-01-172-5/+5
| | | | PiperOrigin-RevId: 422409116
* Update contributing guidelines.Victor Costan2022-01-112-27/+28
| | | | | | | * Align CONTRIBUTING.md with the google/new-project template. * Explain the support story for the CMake config. PiperOrigin-RevId: 421120645
* Merge pull request #506 from lingbin:fix_issue_505Victor Costan2022-01-101-10/+0
|\ | | | | | | PiperOrigin-RevId: 420787858
| * Merge branch 'master' into fix_issue_505Victor Costan2022-01-10156-7611/+9575
| |\
| * | fix style and remove unused codelingbin2017-09-042-12/+2
| | |
* | | Merge pull request #893 from myccccccc:masterVictor Costan2022-01-101-2/+0
|\ \ \ | | | | | | | | | | | | PiperOrigin-RevId: 420783873
| * | | delete an unnecessary forward declarationmayingchun2021-04-051-2/+0
| | | |
* | | | Merge pull request #888 from JayiceZ:fix_typoVictor Costan2022-01-101-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 420783487
| * | | | fix typo in port_example.hJayice2021-03-281-1/+1
| |/ / /
* | | | Merge pull request #652 from caodhuan:masterVictor Costan2022-01-101-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | PiperOrigin-RevId: 420782536
| * | | | add:compact_pointers_ should be clear when Clear() calledcaodhuan2019-01-221-0/+1
| | | | |
* | | | | Merge pull request #744 from HenryRLee:patch-1Victor Costan2022-01-101-2/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420781374
| * \ \ \ \ Merge branch 'master' into patch-1Victor Costan2022-01-09112-1861/+1951
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Remove unused variable kDelayMicros in env_test.ccHenry Lee2019-10-151-2/+0
| | | | | |
* | | | | | Merge pull request #602 from andyli029:feature_fix_lack_tag_commentVictor Costan2022-01-101-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420781095
| * | | | | | lack of sequence and type in comments to introduce entry formatandy2018-06-281-0/+1
| | | | | | |
* | | | | | | Merge pull request #747 from zltl:patch-1Victor Costan2022-01-101-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | PiperOrigin-RevId: 420778907
| * | | | | | fix typo in comment of LRUHandleLiao Tonglang2019-10-221-1/+1
| | |/ / / / | |/| | | | | | | | | | LRUHandle has no member "next_", fix it to "next" instead.
* | | | | | Merge pull request #901 from mapleFU:opt-using-moveVictor Costan2022-01-101-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420662938
| * | | | | | [Init] initial commitmwish2021-05-021-1/+1
| | |_|_|/ / | |/| | | |
* | | | | | Merge pull request #897 from raynolmenezes:patch-1Victor Costan2022-01-101-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420662891
| * | | | | | Update log_reader.hRaynol Menezes2021-04-161-1/+1
| |/ / / / /
* | | | | | Merge pull request #945 from xiong-ang:masterVictor Costan2022-01-101-5/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420645727
| * | | | | | fix some trifling points xiong-ang2021-10-221-6/+7
| | | | | | |
* | | | | | | Merge pull request #934 from BilyZ98:masterVictor Costan2022-01-101-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420645080
| * | | | | | | Fix version_set.cc comments typozzt2021-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix typo of comment of FindLargestKey function
* | | | | | | | Merge pull request #919 from wineway:fix_posix_testVictor Costan2022-01-101-3/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420644954
| * | | | | | | | fixed random access file exhaust random mmap file use wrong limit countwineway2021-07-011-3/+3
| | | | | | | | |
* | | | | | | | | Merge pull request #928 from ehds:fix-commentVictor Costan2022-01-091-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420541137
| * | | | | | | | | Fix comments positionehds2021-08-081-3/+3
| |/ / / / / / / /
* | | | | | | | | Merge pull request #960 from ericuni:dedupVictor Costan2022-01-091-1/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420534594
| * | | | | | | | | rm redundant code: SetNextFile has already been called before in this functionEric Wang2021-12-051-1/+0
| | | | | | | | | |
* | | | | | | | | | VersionSet::Builder::Apply() does not mutate its argument.Victor Costan2022-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420533763
* | | | | | | | | | Merge pull request #903 from LazyWolfLin:dev_randomVictor Costan2022-01-091-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420532625
| * | | | | | | | | | Small fix.LazyWolfLin2021-05-111-1/+1
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use function instead of original expression.
* | | | | | | | | | Merge pull request #902 from ehds:update-table-cacheVictor Costan2022-01-091-0/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420517390
| * | | | | | | | | | Make table cache non-copyableehds2021-05-081-0/+4
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #965 from ShawnZhong:cpp20Victor Costan2022-01-082-4/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420504266
| * | | | | | | | | | Update env_posix.ccShawn Zhong2021-12-301-2/+2
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #967 from rex4539:typosVictor Costan2022-01-083-4/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420403341
| * | | | | | | | | | | Fix typosDimitris Apostolou2022-01-053-4/+4
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #968 from xindubawukong:dxy_remove_codeVictor Costan2022-01-081-8/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 420399272
| * | | | | | | | | | | remove useless code in cache.hxindubawukong2022-01-061-8/+0
| |/ / / / / / / / / /
* | | | | | | | | | | Remove main() from most tests.Victor Costan2022-01-0329-174/+54
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives some flexibility to embedders. Currently, embedders have to build a binary for each test file. After this CL, embedders can still choose to have a binary for each test file, by linking each test file with a googletest target that includes main() (usually "gtest_main"). Embedders can also choose to build a single binary for almost all test files, and link with a googletest target that includes main(). The latter is more convenient for projects that have very few test binaries, like Chromium. PiperOrigin-RevId: 419470798
* | | | | | | | | | Extract benchmark from db_test.cc.Victor Costan2021-12-293-71/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The benchmark in db/db_test.cc is extracted to its own file, benchmarks/db_bench_log.cc. PiperOrigin-RevId: 418713499
* | | | | | | | | | Add invariant checks to Limiter in Env implementations.Victor Costan2021-12-222-5/+52
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 417853172
* | | | | | | | | Merge pull request #941 from pmmp:no-handle-inheritanceVictor Costan2021-11-301-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 412997201
| * | | | | | | | | Prevent handle used for LOG from being inherited by subprocessesDylan K. Taylor2021-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I recently encountered a problem with this because Windows doesn't allow files to be deleted when there's open handles to them. Other files opened by leveldb are not affected because by and large they are using CreateFileA, which does not allow inheritance when lpSecurityAttributes is null (ref: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea) However, fopen() _does_ allow inheritance, and it needs to be expressly disabled. https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=msvc-160
* | | | | | | | | | Merge pull request #951 from philix:no_pthreadVictor Costan2021-11-291-1/+0
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 412965575
| * | | | | | | | | Remove <pthread.h> include and find_package() from build filesFelipe Oliveira Carvalho2021-11-281-1/+0
|/ / / / / / / / /