mongodb allanbank async driver durability timeout -


does happen know waittimeoutmillis in durability constructor argument in allanbank async driver (or 10gen driver matter)?

if set timeout of 0 wait forever? if set low timeout (e.g. 1) , timeout triggered cancel transaction or throw exception , return before transaction completes?

the timeout handled @ server part of getlasterror command (or gle).

see http://docs.mongodb.org/manual/reference/command/getlasterror/#dbcmd.getlasterror :

wtimeout (integer) – optional. milliseconds. specify value in milliseconds control how long wait write propagation complete. if replication not complete in given timeframe, getlasterror command return error status.

based on 10gen driver javadoc believe waittimeout of 0 blocks forever have test verify.

hth - rob.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -