Details
-
Bug
-
Resolution: Unresolved
-
Critical
-
6.0.3
-
None
-
Untriaged
-
Unknown
Description
Discovered by a community user: https://github.com/couchbase/docker/issues/140 (and in fact, was originally discovered back in 2016 by a different community user, although we didn't realize it was unique to docker-on-Windows at the time: https://github.com/couchbase/docker/issues/47 )
If you run the official Docker image in a Windows environment, AND use "docker run -v" to mount /opt/couchbase/var from the Windows filesystem, view creation will fail with an "ebusy" error. Sriram Melkote debugged this. Apparently there's a situation where an open file needs to be opened by another process. This causes an error on Windows, but there is Windows-specific code in couchdb/file2.erl which implements a retry-loop catching the exception until it is able to succeed. However, in this case, the product being run is the Linux product. It is unaware of this limitation of Windows filesystems, and hence does not execute the workaround and allows the exception to escape.
Attachments
Issue Links
- mentioned in
-
Page Loading...