Metabase doesn't respect mongodb readPreferenceTags

Hello!

I have a mongodb replicaset configuration.
I want that metabase only use one of the replicas, a secondary one.

I’ve configured tags on all replicas.
On my app i was able to configure it to use the tags that I choose.
But metabase doesn’t respect it and connects to all secondary replicas (readPreference=secondary&readPreferenceTags=usage:reporting)

Anyone know what is wrong?

Thanks!

Hi @joao.pina
Which version of Metabase? And which version of MongoDB?
Does it work if you make a connection from mongo shell?