-
Notifications
You must be signed in to change notification settings - Fork 734
import operator has been supported #29375
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 adds support for import/restore operations in the columnshard transaction system. The change introduces a new transaction type TX_KIND_RESTORE and implements the corresponding operator, task, session, and actor infrastructure to handle restore operations, mirroring the existing export functionality.
- Adds
TRestoreTransactionOperatorto handle restore transactions - Implements import task, session, and actor components in the
backup/importdirectory - Registers the new
TX_KIND_RESTOREtransaction kind in the proto definitions
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| ydb/core/tx/columnshard/transactions/operators/ya.make | Adds restore.cpp to the build configuration |
| ydb/core/tx/columnshard/transactions/operators/restore.h | Declares TRestoreTransactionOperator class for handling restore transactions |
| ydb/core/tx/columnshard/transactions/operators/restore.cpp | Implements restore transaction operator with lifecycle methods |
| ydb/core/tx/columnshard/backup/ya.make | Adds import subdirectory as a dependency |
| ydb/core/tx/columnshard/backup/import/ya.make | Defines the import library build configuration |
| ydb/core/tx/columnshard/backup/import/task.h | Declares TImportTask class for managing import operations |
| ydb/core/tx/columnshard/backup/import/task.cpp | Implements import task serialization and session building |
| ydb/core/tx/columnshard/backup/import/session.h | Declares TSession class representing an import session state machine |
| ydb/core/tx/columnshard/backup/import/session.cpp | Implements import session lifecycle and state transitions |
| ydb/core/tx/columnshard/backup/import/protos/ya.make | Adds protobuf definitions for import tasks |
| ydb/core/tx/columnshard/backup/import/protos/task.proto | Defines protobuf messages for import task serialization |
| ydb/core/tx/columnshard/backup/import/import_actor.h | Declares TImportActor for executing import operations |
| ydb/core/tx/columnshard/backup/import/import_actor.cpp | Implements import actor behavior and transaction handling |
| ydb/core/tx/columnshard/backup/import/control.h | Declares session control classes for confirming/aborting imports |
| ydb/core/tx/columnshard/backup/import/control.cpp | Implements session control logic |
| ydb/core/protos/tx_columnshard.proto | Adds TX_KIND_RESTORE enum value and TRestoreTxBody message |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🟢 |
|
⚪ |
|
⚪ |
|
⚪
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Changelog entry
...
Changelog category
Description for reviewers
...