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

chore: bump version to 0.11.1 #5206

Merged
merged 59 commits into from
Dec 20, 2024

Conversation

evenyag
Copy link
Contributor

@evenyag evenyag commented Dec 19, 2024

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

#5173

What's changed and what's your intention?

This PR releases 0.11.1

This release revert #5179

PR Checklist

Please convert it to a draft if some of the following conditions are not met.

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR requires documentation updates.
  • API changes are backward compatible.
  • Schema or data changes are backward compatible.

evenyag and others added 30 commits December 10, 2024 13:10
* chore: add ready endpoint for health checking

* chore: add test
* chore: fix aws_lc check in CI

* chore: update lock file
* feat: adjust WAL purge default configurations

* fix: config

* feat: change raft engine file_size default to 128Mib
* Revert "refactor: Avoid wrapping Option for CacheManagerRef (GreptimeTeam#4996)"

This reverts commit 42bf7e9.

* fix: memory usage during log ingestion

* fix: fmt
* refactor: extract implicit conversion helper functions of vector

Signed-off-by: Zhenchi <[email protected]>

* feat(vector): add scalar add function

Signed-off-by: Zhenchi <[email protected]>

* fix fmt

Signed-off-by: Zhenchi <[email protected]>

---------

Signed-off-by: Zhenchi <[email protected]>
…lect (GreptimeTeam#5144)

* derive ser/de

Signed-off-by: Ruihang Xia <[email protected]>

* impl method

Signed-off-by: Ruihang Xia <[email protected]>

* fix typo

Signed-off-by: Ruihang Xia <[email protected]>

* remove deserialize

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
* feat: support push down IN filter

* chore: move tests to prune.sql
…O time (GreptimeTeam#5145)

* feat: introduce `PuffinFileFooterReader`

* refactor: remove `SyncReader` trait and impl

* refactor: replace `FooterParser` with `PuffinFileFooterReader`

* chore: remove unused errors
… I/O time (GreptimeTeam#5146)

* feat: add prefetch support to `InvertedIndeFooterReader`

* chore: correct struct name

* chore: apply suggestions from CR
* feat: introduce `PuffinMetadataCache`

* refactor: remove too_many_arguments

* chore: fmt toml
* feat(fuzz): add set table options to alter fuzzer

* chore: clippy is happy, I'm sad

* chore: happy ci happy

* fix: unit test

* feat(fuzz): add unset table options to alter fuzzer

* fix: unit test

* feat(fuzz): add table option validator

* fix: make clippy happy

* chore: add comments

* chore: apply review comments

* fix: unit test

* feat(fuzz): add more ttl options

* fix: GreptimeTeam#5108

* chore: add comments

* chore: add comments
…m#5147)

feat(index): add file_size_hint for remote blob reader
…ts (GreptimeTeam#5138)

* chore: decide tag column in log api follow table schema if table exists

* chore: add more test for greptime_identity pipeline

* chore: change pipeline get_table function signature

* chore: change identity_pipeline_inner tag_column_names type
GreptimeTeam#5142)

* chore: pipeline dryrun api can currently receives pipeline raw content

* chore: remove dryrun v1 and add test

* chore: change dryrun pipeline api body schema

* chore: remove useless struct PipelineInfo

* chore: update PipelineDryrunParams doc

* chore: increase code readability

* chore: add some comment for pipeline dryrun test

* Apply suggestions from code review

Co-authored-by: shuiyisong <[email protected]>

* chore: format code

---------

Co-authored-by: shuiyisong <[email protected]>
* feat: cache inverted index by page instead of file

* fix: add unit test and fix bugs

* chore: typo

* chore: ci

* fix: math

* chore: apply review comments

* chore: renames

* test: add unit test for index key calculation

* refactor: use ReadableSize

* feat: add config for inverted index page size

* chore: update config file

* refactor: handle multiple range read and fix some related bugs

* fix: add config

* test: turn to a fs reader to match behaviors of object store
…5140)

* docs: Add index panels to standalnoe grafana dashboard

* docs: fix flush/compaction op
* chore: remove unused dep

* chore: remove more unused dep
* add metrics

* chore/bench-metrics: Add INFLIGHT_FLUSH_COUNT Metric to Flush Process

 • Introduced INFLIGHT_FLUSH_COUNT metric to track the number of ongoing flush operations.
 • Incremented INFLIGHT_FLUSH_COUNT in FlushScheduler to monitor active flushes.
 • Removed redundant increment of INFLIGHT_FLUSH_COUNT in RegionWorkerLoop to prevent double counting.

* chore/bench-metrics: Add Metrics for Compaction and Flush Operations

 • Introduced INFLIGHT_COMPACTION_COUNT and INFLIGHT_FLUSH_COUNT metrics to track the number of ongoing compaction and flush operations.
 • Incremented INFLIGHT_COMPACTION_COUNT when scheduling remote and local compaction jobs, and decremented it upon completion.
 • Added INFLIGHT_FLUSH_COUNT increment and decrement logic around flush tasks to monitor active flush operations.
 • Removed redundant metric updates in worker.rs and handle_compaction.rs to streamline metric handling.

* chore: add metrics for remote compaction jobs

* chore: format

* chore: also add dashbaord
* skip index parser

Signed-off-by: Ruihang Xia <[email protected]>

* wip: sqlness

Signed-off-by: Ruihang Xia <[email protected]>

* impl show create part

Signed-off-by: Ruihang Xia <[email protected]>

* add empty line

Signed-off-by: Ruihang Xia <[email protected]>

* change keyword to SKIPPING INDEX

Signed-off-by: Ruihang Xia <[email protected]>

* rename local variables

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
…ent (GreptimeTeam#5175)

* chore: add nix-shell development environment

* chore: add rust-analyzer

* chore: use .envrc as a private file
evenyag and others added 9 commits December 18, 2024 09:10
chore: remove unused symbols

Signed-off-by: Ruihang Xia <[email protected]>
…eam#5183)

* chore: improve nix-shell support

* fix: add pkg-config

* ci: add a github action to ensure build on clean system

* ci: optimise dependencies of task

* ci: move clean build to nightly
* feat: add show create table for pg in parser

* feat: implement show create table operation

* fix: adopt upstream changes
…GreptimeTeam#5174)

* fix: ensure table route metadata is eventually rolled back on procedure failure

* fix(fuzz): enhance procedure condition checking

* chore: add logs

* feat: close downgraded leader region actively

* chore: apply suggestions from CR
…reptimeTeam#5179)

* feat: bump opendal and switch prometheus layer to the upstream impl

Signed-off-by: Ruihang Xia <[email protected]>

* remove unused files

Signed-off-by: Ruihang Xia <[email protected]>

* fix tests

Signed-off-by: Ruihang Xia <[email protected]>

* remove unused things

Signed-off-by: Ruihang Xia <[email protected]>

* remove root dir on recovering cache

Signed-off-by: Ruihang Xia <[email protected]>

* filter out non-files entry in test

Signed-off-by: Ruihang Xia <[email protected]>

---------

Signed-off-by: Ruihang Xia <[email protected]>
…#4890)

* feat: add flow mem size to sys table

* chore: rm dup def

* chore: remove unused variant

* chore: minor refactor

* refactor: per review
* fix: typed builder

* chore: clippy

* chore: rename

* fix: unit tests

* refactor: per review
Copy link
Contributor

coderabbitai bot commented Dec 19, 2024

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Dec 19, 2024
@evenyag evenyag marked this pull request as ready for review December 19, 2024 11:03
Copy link
Contributor

@v0y4g3r v0y4g3r left a comment

Choose a reason for hiding this comment

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

DLJB

Copy link
Member

@WenyXu WenyXu left a comment

Choose a reason for hiding this comment

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

DLJB DLJB

@evenyag evenyag marked this pull request as draft December 19, 2024 11:14
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 74.55239% with 867 lines in your changes missing coverage. Please review.

Project coverage is 83.73%. Comparing base (03a2832) to head (854a441).
Report is 59 commits behind head on release/v0.11.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/v0.11    #5206      +/-   ##
=================================================
- Coverage          84.04%   83.73%   -0.31%     
=================================================
  Files               1168     1181      +13     
  Lines             217620   219750    +2130     
=================================================
+ Hits              182896   184013    +1117     
- Misses             34724    35737    +1013     

Revert "feat: bump opendal and switch prometheus layer to the upstream impl (GreptimeTeam#5179)"

This reverts commit 422d18d.
@evenyag evenyag marked this pull request as ready for review December 20, 2024 04:56
@evenyag evenyag merged commit ea4ce9d into GreptimeTeam:release/v0.11 Dec 20, 2024
57 of 68 checks passed
@evenyag evenyag deleted the feat/update-0.11 branch December 20, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.