Skip to content

Commit b27e63b

Browse files
authored
Merge pull request #8456 from tangledbytes/utkarsh/fix/file-reader-partial-encoded
[NSFS] Fix Newline Reader to work with partial reads and improve its memory usage
2 parents aef68ca + c2bbbe5 commit b27e63b

File tree

5 files changed

+183
-30
lines changed

5 files changed

+183
-30
lines changed

src/sdk/nsfs_glacier_backend/tapecloud.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class TapeCloudUtils {
5151
throw new Error('process exited with non-zero exit code:', errcode);
5252
}
5353

54-
reader = new NewlineReader(fs_context, tmp);
54+
reader = new NewlineReader(fs_context, tmp, { skip_overflow_lines: true });
5555
await reader.forEach(async line => {
5656
const failure_case = line.startsWith("Fail");
5757
const success_case = line.startsWith("Success");

0 commit comments

Comments
 (0)