Skip to content

Commit bfc97e5

Browse files
authored
Merge pull request #9244 from tangledbytes/utkarsh/fix/persistent-logger-hang
[NSFS | NC | Glacier] Fix migrate hang under race condition
2 parents 2367740 + 358f800 commit bfc97e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/persistent_logger.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class PersistentLogger {
5959
undefined,
6060
{ lock: this.locking, retries: 10, backoff: 5 }
6161
);
62+
this.fh_stat = await this.fh.stat(this.fs_context);
63+
this.local_size = 0;
6264

6365
return this.fh;
6466
});

0 commit comments

Comments
 (0)