소스 검색

Fix documentation for log file growth.

This fixes #546 reported on GitHub.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=194549692
pull/1/head
cmumford 6 년 전
committed by Victor Costan
부모
커밋
e7840de9f3
1개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. +7
    -5
      doc/impl.md

+ 7
- 5
doc/impl.md 파일 보기

@ -65,12 +65,14 @@ Other files used for miscellaneous purposes may also be present (LOCK, *.dbtmp).
## Level 0
When the log file grows above a certain size (4MB by default):
Create a brand new memtable and log file and direct future updates here
Create a brand new memtable and log file and direct future updates here.
In the background:
Write the contents of the previous memtable to an sstable
Discard the memtable
Delete the old log file and the old memtable
Add the new sstable to the young (level-0) level.
1. Write the contents of the previous memtable to an sstable.
2. Discard the memtable.
3. Delete the old log file and the old memtable.
4. Add the new sstable to the young (level-0) level.
## Compactions

불러오는 중...
취소
저장