Skip to content

fix: remove queryBufferSize and cacheLazyLoadThreshold in code and docs#35176

Merged
guanshengliang merged 2 commits intomainfrom
docs/removeQueryBufferSize
Apr 20, 2026
Merged

fix: remove queryBufferSize and cacheLazyLoadThreshold in code and docs#35176
guanshengliang merged 2 commits intomainfrom
docs/removeQueryBufferSize

Conversation

@dapan1121
Copy link
Copy Markdown
Contributor

Description

Issue(s)

  • Close/close/Fix/fix/Resolve/resolve: Issue Link

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

Copilot AI review requested due to automatic review settings April 20, 2026 03:23
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the documentation for the queryBufferSize configuration parameter across both English and Chinese reference files. The parameter was previously marked as reserved or not yet effective, and its removal ensures the documentation accurately reflects the supported features of the current version. I have no feedback to provide as there were no review comments.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes documentation references for the queryBufferSize configuration parameter from both English and Chinese component/config reference docs.

Changes:

  • Removed queryBufferSize from the config scope comparison tables (EN/ZH).
  • Removed the detailed queryBufferSize section from the Chinese taosd configuration reference.
  • Removed the queryBufferSize row from the English taosd configuration table.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docs/zh/14-reference/01-components/08-config-scope.md Removes queryBufferSize from the ZH config scope table.
docs/zh/14-reference/01-components/01-taosd.md Removes the ZH detailed queryBufferSize parameter documentation section.
docs/en/14-reference/01-components/08-config-scope.md Removes queryBufferSize from the EN config scope table.
docs/en/14-reference/01-components/01-taosd.md Removes the queryBufferSize row from the EN taosd parameter table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/zh/14-reference/01-components/08-config-scope.md
Comment thread docs/en/14-reference/01-components/08-config-scope.md
Comment thread docs/zh/14-reference/01-components/01-taosd.md
Comment thread docs/en/14-reference/01-components/01-taosd.md
@dapan1121 dapan1121 force-pushed the docs/removeQueryBufferSize branch from 9aaf270 to e4c9396 Compare April 20, 2026 05:48
Copilot AI review requested due to automatic review settings April 20, 2026 06:02
@dapan1121 dapan1121 requested review from a team and feici02 as code owners April 20, 2026 06:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/common/src/tglobal.c Outdated
Comment thread source/common/src/tglobal.c
@dapan1121 dapan1121 changed the title docs: remove queryBufferSize configuration description fix: remove queryBufferSize and cacheLazyLoadThreshold in code and docs Apr 20, 2026
…d configs

Both configs were dead code with no actual effect:
- queryBufferSize/tsQueryBufferSize/tsQueryBufferSizeBytes: explicitly
  documented as 'not effective yet'; checkForQueryBuf/releaseQueryBuf
  were defined but never called anywhere
- tsCacheLazyLoadThreshold/cacheLazyLoadThreshold: registered and read
  from config but never referenced in any business logic

Remove variable declarations, definitions, config registrations, config
loading, associated functions, cfg file examples, docs, and test entries.
@dapan1121 dapan1121 force-pushed the docs/removeQueryBufferSize branch from 761f73d to 434a92e Compare April 20, 2026 06:12
@guanshengliang guanshengliang merged commit 4bd8dfe into main Apr 20, 2026
15 of 16 checks passed
@dapan1121 dapan1121 deleted the docs/removeQueryBufferSize branch April 30, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants