P4Awd
P4Awd
Perhaps com.github.mauricio.async.db.pool.ConnectionPool should be used by io.vertx.ext.asyncsql.impl.AsyncSQLConnectionImpl.
What if AsyncFile was changed to support some kind "drained handler" that fired once writesOutstanding == 0. It would allow for some flexibility so the caller could choose to flush...
Agreed that it probably makes sense to wait though there's a case for forcing at a fixed interval via a periodic while writing in which case waiting for outstandingWrites ==...
That sounds reasonable. I think with that structure it would also be trivial to fire a write queue drained handler if it has been set.
Perhaps to expand on the idea a little which may or may not be beyond the scope of this issue.... I implemented a [concurrent write queue helper](https://github.com/pitchpoint-solutions/sfs/blob/master/sfs-server/src/main/java/org/sfs/io/WriteQueueSupport.java) and an [async...
I'm using that rule. The context associated to a deployed verticle is different than context the test method is run on... rule.vertx().fileSystem().open(...) creates an asyncfile that is associated to a...
The deadlock doesn't occur in 3.5.1-SNAPSHOT.
Here's the deadlock on 3.5.0 which I can't reproduce on 3.5.1-SNAPSHOT ``` 2018-01-23 11:31:20,509 [main] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework 2018-01-23 11:31:20,512 [main] DEBUG io.netty.util.ResourceLeakDetector...
To replicate something similar to https://github.com/pitchpoint-solutions/sfs/blob/master/sfs-server/src/main/java/org/sfs/SfsServer.java. I suppose I could have made the test simpler with only one verticle... apologies. In one of the tests I'm attempting to test functionality...
Here's one test https://github.com/pitchpoint-solutions/sfs/blob/master/sfs-server/src/test/java/org/sfs/integration/java/test/farm/ReplicatedWriteTest.java. The test creates a file and opens it in the test context. The test then passes the asycfile instance on line 125 to be consumed by...