sapling/eden/fs/service
Xavier Deguillard 1392af4423 service: do not special case WSAEADDRINUSE on bind
Summary:
In some very rare scenario, we're seeing bind fail due to WSAEADDRINUSE, and
I'm suspecting that a connect race is going on, where connect creates the file
on disk while a bind is ongoing. Since at this point there is no way for
another EdenFS process to be alive due to the fs lock being held, there is no
way for the socket to be already bound to another EdenFS process. Thus, we can
remove the special case.

Reviewed By: genevievehelsel

Differential Revision: D23591009

fbshipit-source-id: 094a7926aa9ac45ea9dea5646000aa287a9b5b7a
2020-09-08 21:18:04 -07:00
..
oss split runEdenMain out from EdenMain 2020-03-26 16:19:25 -07:00
test eden: introduce SpawnedProcess 2020-09-01 13:31:32 -07:00
.gitignore watchman: pull in thrift in the oss build for eden support 2019-02-04 21:37:47 -08:00
CMakeLists.txt unify the EdenMain code on Windows 2020-05-28 09:01:03 -07:00
eden.thrift utils: rename ProcessAccessLog::AccessType enum 2020-09-03 17:00:07 -07:00
EdenCPUThreadPool.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenCPUThreadPool.h Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenError.cpp add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00
EdenError.h Remove thrift setters 2020-07-13 14:30:00 -07:00
EdenInit.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
EdenInit.h add a new process to monitor EdenFS 2020-01-31 13:22:26 -08:00
EdenMain.cpp introduce metadata importer 2020-07-10 16:03:32 -07:00
EdenMain.h introduce metadata importer 2020-07-10 16:03:32 -07:00
EdenServer.cpp service: do not special case WSAEADDRINUSE on bind 2020-09-08 21:18:04 -07:00
EdenServer.h don't print fsck progress bars when fsck does not happen 2020-08-05 18:27:34 -07:00
EdenServiceHandler.cpp add ObjectFetchContext with causeDetail field 2020-09-01 03:39:18 -07:00
EdenServiceHandler.h eden prefetch record-profile and eden prefetch finish-profile 2020-08-04 06:50:45 -07:00
EdenStateDir.cpp fix issues when checking EdenFS status on windows 2020-04-15 15:46:24 -07:00
EdenStateDir.h exit if the EdenFS lock file ever becomes invalid 2020-03-26 20:17:12 -07:00
fb-edenfs@.service set OOMScoreAdjust to -20 in systemd unit 2019-10-02 12:53:28 -07:00
PeriodicTask.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
PeriodicTask.h Tidy up license headers 2019-10-11 05:28:23 -07:00
PrettyPrinters.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
PrettyPrinters.h Tidy up license headers 2019-10-11 05:28:23 -07:00
StartupLogger.cpp unify the StartupLogger code on Windows and POSIX 2020-04-30 23:36:49 -07:00
StartupLogger.h use logVerbose for fsck bars 2020-07-30 08:47:54 -07:00
streamingeden.thrift enable py3 thrift language 2020-06-10 19:29:17 -07:00
Systemd.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
Systemd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftPermissionChecker.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ThriftUtil.h add EdenErrorType to EdenError 2019-10-29 09:23:03 -07:00