Skip to content

Remove Apache Arrow Flight tester for manager nodes#56

Merged
CGodiksen merged 12 commits intomainfrom
dev/remove-manager
Dec 12, 2025
Merged

Remove Apache Arrow Flight tester for manager nodes#56
CGodiksen merged 12 commits intomainfrom
dev/remove-manager

Conversation

@CGodiksen
Copy link
Copy Markdown
Collaborator

This PR updates the Apache Arrow Flight tester to match the architecture change made in ModelarData/ModelarDB-RS#367. Since we no longer have to test two different types of nodes, with some common functionality, the tester has also been restructured. Now we have a single class for the base Flight Server methods, one class for the server functionality, and a util.py file for testing functionality.

This PR should not be merged before ModelarData/ModelarDB-RS#367 is merged.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the Apache Arrow Flight tester for manager nodes following the architecture simplification in PR #367. The codebase is restructured from a two-node-type system (manager and server) to a single server-only architecture.

  • Removed manager-specific functionality (manager.py and associated protobuf definitions)
  • Refactored common code into dedicated modules: wrapper.py for base Flight client operations and util.py for testing utilities
  • Updated server.py to inherit from the new FlightClientWrapper base class

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
README.md Removed documentation references to manager node testing
Apache-Arrow-Flight-Tester/wrapper.py New base class providing common Apache Arrow Flight client wrapper methods
Apache-Arrow-Flight-Tester/util.py New module containing testing utility functions previously in common.py
Apache-Arrow-Flight-Tester/server.py Refactored to use FlightClientWrapper and util module; removed manager-specific code
Apache-Arrow-Flight-Tester/protobuf/protocol_pb2.pyi Removed ManagerMetadata and NodeMetadata definitions
Apache-Arrow-Flight-Tester/protobuf/protocol_pb2.py Updated generated protobuf code without manager/node metadata
Apache-Arrow-Flight-Tester/protobuf/protocol.proto Removed ManagerMetadata and NodeMetadata message definitions
Apache-Arrow-Flight-Tester/manager.py Deleted - no longer needed after architecture change
Apache-Arrow-Flight-Tester/common.py Deleted - functionality split into wrapper.py and util.py

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CGodiksen CGodiksen merged commit 607def1 into main Dec 12, 2025
@CGodiksen CGodiksen deleted the dev/remove-manager branch December 12, 2025 10:01
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