-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send readdir as a batched request, where the response comes with a li…
…st of dirs, instead of just one. (#2637) * Send readdir as a batched request, where the response comes with a list of dirs, instead of just one. * stop being dumb * working dir read * protocol version check to decide which request to use * use is_none to check for new file added * use correct protocol version * clippy * try_insert is like hashset insert * try_insert is like hashset insert 2 * Send error back to layer when we hit in cached. * dont break protocol * dont break protocol (request) * proper protocol version check * no option + some comments * protocol version * use right protocol version for req * protocol dance * protocol dance (tango) * update test for readdirbatch * fix client message in test * more test fixes * macos test fix * move handle_readdir to simpleproxy * remove todo * docs * bump protocol + macos fix * macos is this what you want * increase test timeout * testing intproxy readdir batch * comment out ut * testing the messages * close file request macos * close and dont expect * add expect close * close file then close dir * bump protocol * wrong fd value * no close * fixed test I think * close * close close * remove extra * change order // add env var to intproxy logs * put in a folder * from_str * is this how you add intproxy logs artifact * fix ci * put it in tmp * continue on error * only upload tmp * the whole dir * setup tracing * only mirrord trace * set log only once * only macos tracing * try_init * only relevant test, fix order * only godir * only go_dir * is this the right way * only go 23 * layer doesnt ask for close * close file then close dir * manually close file * fix go * increase sleep * move to separate function go * logs * change protocol version * ignore after close messages * send empty vec * fixed tests * change order * I had played myself, but now it works. * changelog * clippy * schema * space * is gone
- Loading branch information
Showing
19 changed files
with
710 additions
and
218 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adds a batched readdir, which should hopefully improve the performance when reading many dirs. Introduces a new ReadDirBatched message to the protocol. |
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
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.