sapling/eden/cli
Adam Simpkins e0beef8515 add a timeout in the CLI for unmount operations
Summary:
This updates the CLI code to put a timeout on `unmount()` thrift calls to
edenfs.  We've had a few reports of situations where the unmount thrift call
has hung while edenfs was waiting for all inodes to be released.

Eventually we should fix the C++ code to put a hard timeout on the operation,
(and forcibly remove the mount point from its list in EdenServer even if it is
still waiting for some inodes to be released).  However as an interim solution
timing out on the CLI is better than hanging forever.  In particular the old
behavior made `eden rm` unable to clean up some mount points.

Reviewed By: pkaush

Differential Revision: D8558767

fbshipit-source-id: 942e5c7bcc147229f040f377ce59fcc2565276e0
2018-06-23 12:20:19 -07:00
..
test update eden doctor to remount unmounted checkouts 2018-06-22 17:20:53 -07:00
buck.py refactor and split out some cli functions 2018-05-10 13:49:44 -07:00
cmd_util.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
config.py add a timeout in the CLI for unmount operations 2018-06-23 12:20:19 -07:00
configinterpolator.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
daemon.py refactor and split out some cli functions 2018-05-10 13:49:44 -07:00
debug.py document the "eden debug" command 2018-06-21 11:21:20 -07:00
doctor.py update eden doctor to remount unmounted checkouts 2018-06-22 17:20:53 -07:00
filesystem.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
main.py fix eden rm to work even if the checkout is not currently mounted 2018-06-23 12:20:18 -07:00
mtab.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
rage.py Eden doctor should check that bind mounts in the config are mounted 2018-06-20 18:07:41 -07:00
stats_print.py Reformat already opted in directories with Black Beta @allow-large-files 2018-05-18 23:07:24 -07:00
stats.py Provide real-time values for memory statistics 2018-06-21 15:51:51 -07:00
stdout_printer.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
subcmd.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
util.py fix timeout handling in eden stop 2018-06-12 11:54:49 -07:00
version.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00