Question: master versus primary

I am confused with the term master and primary.
From the glossary, primary is the node accepting the writes.
So what is a master ? (there is no “master” entry in the glossary),
Thanks!

2 Likes

Hi thomas_78525,

First, a very good question!

It means the same. Master and primary are same in MongoDB replica set world.

But we prefer the term primary when explaining the nodes. And also use the same when you do rs.status().

Hope it helps!

Kanika

3 Likes

Thanks!
That makes it clear.