Skip to content

chore: Bump ver: 0.3.0 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2025
Merged

Conversation

drmingdrmer
Copy link
Member

Changelog

chore: Bump ver: 0.3.0
change: separate flush-resp and watch-resp

Distinguish between two watch service event types:

  • Initial flush response: When a watcher connects, all existing
    key-value pairs (key, value) are sent
  • Change response: When a key-value changes, containing (key, before-value, after-value)

This commit modifies TypeConfig to split the previous new_response
method into two distinct methods:

  • new_flush_response
  • new_change_response

This separation allows applications to properly distinguish between
these two event types.


Distinguish between two watch service event types:

- Initial flush response: When a watcher connects, all existing
  key-value pairs `(key, value)` are sent
- Change response: When a key-value changes, containing `(key,
  before-value, after-value)`

This commit modifies `TypeConfig` to split the previous `new_response`
method into two distinct methods:
- `new_flush_response`
- `new_change_response`

This separation allows applications to properly distinguish between
these two event types.
@drmingdrmer drmingdrmer marked this pull request as ready for review May 8, 2025 06:24
@drmingdrmer drmingdrmer merged commit 661f4b4 into databendlabs:main May 8, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant