-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62228: importccl: log all ignored pgdump stmts in different log files r=miretskiy a=adityamaru Previously, we would only log the first 10 ignored stmts, and skip over logging the rest. This was done due to concerns about memory usage when buffering, as ExternalStorage does not support streaming writes (yet). This change writes a new file every time we have buffered 10 ignored stmts. The files are written in the subdirectory `import<jobID>/(unsupported_schema_stmts|unsupported_data_stmts)/<filenum>.log` This allows for several imports to also log unsupported stmts to the same user provided location without stepping on each others toes. Release note (bug fix): log all unsupported pgdump statements across smaller log files that can be found in the subdir `import<jobID>/(unsupported_schema_stmts|unsupported_data_stmts)/<filenum>.log` Co-authored-by: Aditya Maru <[email protected]>
- Loading branch information
Showing
4 changed files
with
175 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.