-
Notifications
You must be signed in to change notification settings - Fork 105
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
Rework copy transaction to not rely on file renaming #1649
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1649 +/- ##
==========================================
- Coverage 91.45% 91.44% -0.01%
==========================================
Files 726 727 +1
Lines 26411 26396 -15
==========================================
- Hits 24153 24138 -15
Misses 2258 2258
☔ View full report in Codecov by Sentry. |
@@ -40,8 +40,8 @@ void CopyNodeSharedState::initializeColumns( | |||
// Skip SERIAL, as it is not physically stored. | |||
continue; | |||
} | |||
auto fPath = storage::StorageUtils::getNodePropertyColumnFName(directory, | |||
nodeTableSchema->tableID, property.propertyID, common::DBFileType::WAL_VERSION); | |||
auto fPath = storage::StorageUtils::getNodePropertyColumnFName( |
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.
I think we can remove the dbfile type parameter from the getNodePropertyColumnFName, since we are always getting the original version of the node file
@@ -36,15 +36,15 @@ std::unique_ptr<DirectedInMemRelData> RelCopyExecutor::initializeDirectedInMemRe | |||
auto relColumns = std::make_unique<DirectedInMemRelColumns>(); | |||
relColumns->adjColumn = std::make_unique<InMemColumn>( | |||
StorageUtils::getAdjColumnFName( | |||
outputDirectory, tableSchema->tableID, direction, DBFileType::WAL_VERSION), | |||
outputDirectory, tableSchema->tableID, direction, DBFileType::ORIGINAL), |
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.
Ditto, we can remove the dbfiletype parameter
14098f5
to
5f1baf4
Compare
No description provided.