taosdata / taosdata/TDengine

最近测试发现TDengine的WAL_LEVEL设置为2时,插入数据后并不会主动进行刷盘

Open
#33,659 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted question
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

WAL_LEVEL设置为2
WAL_FSYNC_PERIOD设置为3000
等待一段时间后,并没有进行刷盘操作

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with WAL_LEVEL set to 2 and WAL_FSYNC_PERIOD set to 3000, then observe whether inserted data is flushed after waiting. Trace the WAL handling and fsync scheduling paths related to these settings. Done means the expected flush occurs after the configured period, with a regression test covering the behavior.

Written by the indexing model from the issue text.

Assessment

Domain
databases, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.