Skip to content

Commit 49dd99a

Browse files
pixccGazizonoki
authored andcommitted
Moved commit "Validate checksums on import from s3" from ydb repo
1 parent 7c79b50 commit 49dd99a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

include/ydb-cpp-sdk/client/import/import.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ struct TImportFromS3Settings : public TOperationRequestSettings<TImportFromS3Set
4242
FLUENT_SETTING_OPTIONAL(std::string, Description);
4343
FLUENT_SETTING_OPTIONAL(uint32_t, NumberOfRetries);
4444
FLUENT_SETTING_OPTIONAL(bool, NoACL);
45+
FLUENT_SETTING_OPTIONAL(bool, SkipChecksumValidation);
4546
};
4647

4748
class TImportFromS3Response : public TOperation {

src/api/protos/ydb_import.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ message ImportFromS3Settings {
7272
// Prevent importing of ACL and owner. If true, objects are created with empty ACL
7373
// and their owner will be the user who started the import.
7474
bool no_acl = 11;
75+
76+
// Skip checksum validation during import
77+
bool skip_checksum_validation = 12;
7578
}
7679

7780
message ImportFromS3Result {

0 commit comments

Comments
 (0)