Skip to content
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

refactor: deprecate: Operation::AsIs and will be removed #16913

Merged
merged 5 commits into from
Nov 23, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Nov 22, 2024

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

Summary

refactor: deprecate: Operation::AsIs and will be removed
refactor: simplify ClusterApi::heartbeat.

heartbeat is barely an upsert operation no matter the node key present
or not.

refactor: remove put_with_expire_at; Use ttl instead of expire_at for BackgroundTask

Tests

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

Type of change

  • Refactoring

Related Issues


This change is Reviewable

@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Nov 22, 2024
@drmingdrmer drmingdrmer marked this pull request as ready for review November 22, 2024 09:34
Copy link
Collaborator

@TCeason TCeason left a comment

Choose a reason for hiding this comment

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

User abd role part is LGTM

@drmingdrmer drmingdrmer merged commit a2ce45c into databendlabs:main Nov 23, 2024
72 of 73 checks passed
@drmingdrmer drmingdrmer deleted the 176-remove-expire-at branch November 23, 2024 02:15
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.

3 participants