This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabled volume discovery and added env var to enable it if needed
Volume discovery was written to address challenges with docker/plugin startup order, and as potential auto-recovery for plugin crashes. * We do not see crashes often (as a matter of fact, only once so far , with VMCI memory issues - and it' fixed). * Docker now manages the order of plugin invocation/startup with Managed Plugins. * and, the last but not the least, during the discovery we make assumption about Docker API availability, but Docker makes API available only AFTER full startup including plugin initialization, so it could lead to bug like #1039, where docker either hangs for 15-20 sec (like with legacy plugin) or steps on it's own bugs and crash (like with managed plugin) In the spirit of taking care of the "sunny day" first, when everything works OK and our code does not crash, this commit turns off discovery on startup. Managed plugin handles all restarts and remounts fine. Legacy plugin may have issues if we crash, but first of all we never crash :-) and second legacy plugins are getting depreciated anyways
- Loading branch information