Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: meta: Use released databend-meta optimization tags#19861

Merged
drmingdrmer merged 3 commits into
databendlabs:mainfrom
drmingdrmer:patched
May 14, 2026
Merged

refactor: meta: Use released databend-meta optimization tags#19861
drmingdrmer merged 3 commits into
databendlabs:mainfrom
drmingdrmer:patched

Conversation

@drmingdrmer
Copy link
Copy Markdown
Member

@drmingdrmer drmingdrmer commented May 14, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

perf: meta: Use released databend-meta optimization tags

Update Databend's external meta dependencies from local path patches to
the released databend-meta v260512.1.0 and databend-meta-client
v260205.9.0 tags.

The server-side databend-meta tag includes the raft-log 0.4.2 WAL flush
optimizations: bounded group-commit waiting, configurable flush batch
size, vectored batch writes, and flush latency percentile stats. It also
keeps the meta-side runtime and raft-log metrics needed to inspect the
effect of the batching change.

Refresh Cargo.lock so the workspace resolves the tagged packages from
databendlabs/databend-meta and picks up Openraft 0.10.0-alpha.20 through
those dependencies.

Include the 2026-05-14 benchmark report comparing the patched build with
ups/main. The report records the current binary version, dependency
versions, workload parameters, throughput, latency, raft-log batch
stats, and the observed throughput improvement.

Performance summary from the 2-node upsert_kv benchmark: 4 clients
improved from 176.8 to 199.0 qps (+12.6%), 64 clients improved from
2751.6 to 3109.5 qps (+13.0%), and 256 clients improved from 11794.4 to
12974.7 qps (+10.0%). Average client latency dropped by about 10% to
12%; the 64-client run still has mixed tail latency, with p99 changing
from 35ms to 40ms and more slow RPC/IO outliers, so repeated runs are
needed before treating that tail result as stable.

chore(meta): extend metabench metrics
chore(benchmark): improve meta cluster bench script

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Other

Related Issues


This change is Reviewable

@drmingdrmer drmingdrmer changed the title perf: meta: Use released databend-meta optimization tags refactor: meta: Use released databend-meta optimization tags May 14, 2026
@github-actions github-actions Bot added the pr-refactor this PR changes the code base without new features or bugfix label May 14, 2026
Update Databend's external meta dependencies from local path patches to
the released databend-meta v260512.1.0 and databend-meta-client
v260205.9.0 tags.

The server-side databend-meta tag includes the raft-log 0.4.2 WAL flush
optimizations: bounded group-commit waiting, configurable flush batch
size, vectored batch writes, and flush latency percentile stats. It also
keeps the meta-side runtime and raft-log metrics needed to inspect the
effect of the batching change.

Refresh Cargo.lock so the workspace resolves the tagged packages from
databendlabs/databend-meta and picks up Openraft 0.10.0-alpha.20 through
those dependencies.

Include the 2026-05-14 benchmark report comparing the patched build with
ups/main. The report records the current binary version, dependency
versions, workload parameters, throughput, latency, raft-log batch
stats, and the observed throughput improvement.

Performance summary from the 2-node upsert_kv benchmark: 4 clients
improved from 176.8 to 199.0 qps (+12.6%), 64 clients improved from
2751.6 to 3109.5 qps (+13.0%), and 256 clients improved from 11794.4 to
12974.7 qps (+10.0%). Average client latency dropped by about 10% to
12%; the 64-client run still has mixed tail latency, with p99 changing
from 35ms to 40ms and more slow RPC/IO outliers, so repeated runs are
needed before treating that tail result as stable.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🤖 CI Job Analysis

Workflow: 25845731315

📊 Summary

  • Total Jobs: 88
  • Failed Jobs: 1
  • Retryable: 0
  • Code Issues: 1

NO RETRY NEEDED

All failures appear to be code/test issues requiring manual fixes.

🔍 Job Details

  • linux / sqllogic / cluster (tpcds, 4c, http): Not retryable (Code/Test)

🤖 About

Automated analysis using job annotations to distinguish infrastructure issues (auto-retried) from code/test issues (manual fixes needed).

Copy link
Copy Markdown
Collaborator

@xp-trumpet xp-trumpet left a comment

Choose a reason for hiding this comment

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

@xp-trumpet reviewed 5 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on drmingdrmer).

@drmingdrmer drmingdrmer merged commit 8e82373 into databendlabs:main May 14, 2026
91 of 93 checks passed
@drmingdrmer drmingdrmer deleted the patched branch May 15, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-refactor this PR changes the code base without new features or bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants