Bug 2537: Make stats_archiver not hang on mnesia problems
Bug 2537: Make stats_archiver not hang on mnesia problems

Transaction retries and multi_call timeout default to
infinity. Limited retries to 10 and set a timeout of five seconds.

We already have mnesia's max_wait_for_decision set to ten seconds, so
transactions themselves should never hang for longer than that.

Change-Id: I12ce8327bb164148d193d9d8841e707e87ee20a7
Reviewed-on: http://review.northscale.com/2805
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

mschoch/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,vzasade/ns_server,pavel-blagodov/ns_server,vzasade/ns_server,ceejatec/ns_server,daverigby/ns_server,mschoch/ns_server,membase/ns_server,membase/ns_server,daverigby/ns_server,membase/ns_server,mschoch/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,mschoch/ns_server,ceejatec/ns_server,membase/ns_server,daverigby/ns_server,membase/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,daverigby/ns_server,membase/ns_server,vzasade/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,daverigby/ns_server