Skip to content

feat: remove region selection #237

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 9, 2025
Merged

feat: remove region selection #237

merged 2 commits into from
May 9, 2025

Conversation

v0y4g3r
Copy link
Contributor

@v0y4g3r v0y4g3r commented May 7, 2025

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

Remove region selection to simplify region bulk inserts handling in datanode.

Checklist

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

 ### Refactor `ArrowIpc` and Remove `RegionSelection`

 - **Refactor `ArrowIpc` Structure**:
   - Moved `region_id` to be the first field in `ArrowIpc`.
   - Removed `region_selection` field from `ArrowIpc`.
   - Updated field numbers for `schema` and `payload` in `ArrowIpc`.
   - Affected files: `server.pb.cc`, `server.pb.h`, `Server.java`, `server.proto`.

 - **Remove `RegionSelection` Message**:
   - Deleted the `RegionSelection` message and its related code.
   - Affected files: `server.pb.cc`, `server.pb.h`, `Server.java`, `server.proto`.

 These changes streamline the `ArrowIpc` message structure and remove unused `RegionSelection` components.
@v0y4g3r v0y4g3r force-pushed the feat/remove-region-selection branch from 822b993 to 6ad4825 Compare May 8, 2025 09:07
@WenyXu WenyXu enabled auto-merge (squash) May 9, 2025 04:15
@WenyXu WenyXu merged commit 187acde into main May 9, 2025
6 checks passed
@WenyXu WenyXu deleted the feat/remove-region-selection branch May 9, 2025 04:16
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.

3 participants