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

feat: region storage path #2404

Merged
merged 4 commits into from
Sep 15, 2023

Conversation

fengjiachun
Copy link
Collaborator

@fengjiachun fengjiachun commented Sep 15, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

In the past, we put the catalog and schema into the CreateRegionRequest and sent the request to the datanode to create regions, but in fact the datanode does not understand the meaning of the catalog and schema, it just uses this information to create the storage directory, we should directly pass in the "path"

Upgrade the Proto synchronously : GreptimeTeam/greptime-proto#102

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

src/store-api/src/path_utils.rs Show resolved Hide resolved
fengjiachun and others added 2 commits September 15, 2023 16:34
Co-authored-by: Weny Xu <wenymedia@gmail.com>
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #2404 (e63931c) into develop (fe5679e) will increase coverage by 0.06%.
Report is 2 commits behind head on develop.
The diff coverage is 88.23%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2404      +/-   ##
===========================================
+ Coverage    77.50%   77.56%   +0.06%     
===========================================
  Files          715      715              
  Lines       113300   113391      +91     
===========================================
+ Hits         87813    87952     +139     
+ Misses       25487    25439      -48     

@fengjiachun fengjiachun added this pull request to the merge queue Sep 15, 2023
Merged via the queue into GreptimeTeam:develop with commit 9572b1e Sep 15, 2023
11 checks passed
@fengjiachun fengjiachun deleted the feat/region-path branch September 15, 2023 09:17
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* feat: region storage path

* Update src/common/meta/src/key/datanode_table.rs

Co-authored-by: Weny Xu <wenymedia@gmail.com>

* chore: by cr

* feat: upgrade proto

---------

Co-authored-by: Weny Xu <wenymedia@gmail.com>
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.

4 participants