Skip to content

feat: remove region selection#237

Merged
WenyXu merged 2 commits intomainfrom
feat/remove-region-selection
May 9, 2025
Merged

feat: remove region selection#237
WenyXu merged 2 commits intomainfrom
feat/remove-region-selection

Conversation

@v0y4g3r
Copy link
Copy Markdown
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