Skip to content

Conversation

@drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented May 8, 2025

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

Summary

feat(meta-service): add initialization complete flag for watch

When a watch requires initialization flush, the server now sends a flag
message indicating when the initialization phase is completed.

With this flag, the cache module can determine whether data has been
fully initialized and is ready to serve, improving reliability of the
caching system.

Tests

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

Type of change

  • Other

Related Issues


This change is Reviewable

@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label May 8, 2025
@drmingdrmer drmingdrmer marked this pull request as ready for review May 8, 2025 12:13
When a watch requires initialization flush, the server now sends a flag
message indicating when the initialization phase is completed.

With this flag, the `cache` module can determine whether data has been
fully initialized and is ready to serve, improving reliability of the
caching system.
@drmingdrmer drmingdrmer merged commit c0b9ed0 into databendlabs:main May 9, 2025
76 of 77 checks passed
@drmingdrmer drmingdrmer deleted the 207-watch-2 branch May 9, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant