As the router_options have been deprecated in 2.2 and removed in 2.3, using them in readwritesplit is an error.