I saw a handful of these in our logs just after a restart. I was under the impression that streamToFileSystem was asynchronous but this looks like it could block (although I wouldn't expect File.exists() to block this long - hardware issue?). Anyway, would I be better off handling an uploaded file in another manner? I'm using 3.2.0.
2016-02-01 09:31:45 WARNING Thread Thread[vert.x-eventloop-thread-5,5,main] has been blocked for 6674 ms, time limit is 2000
io.vertx.core.VertxException: Thread blocked
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
at java.io.File.exists(File.java:819)
at io.vertx.core.impl.FileResolver.resolveFile(FileResolver.java:103)
at io.vertx.core.impl.VertxImpl.resolveFile(VertxImpl.java:657)
at io.vertx.core.file.impl.FileSystemImpl$14.<init>(FileSystemImpl.java:736)
at io.vertx.core.file.impl.FileSystemImpl.openInternal(FileSystemImpl.java:735)
at io.vertx.core.file.impl.FileSystemImpl.open(FileSystemImpl.java:299)
at io.vertx.core.http.impl.HttpServerFileUploadImpl.streamToFileSystem(HttpServerFileUploadImpl.java:148)