MongoDB 中的节点与成员

Nodes vs Members in MongoDB

我对 MongoDB 文档中的术语感到困惑。在文档中它是混合的:有时 MongoDB 实例被命名为 node 有时 member

https://docs.mongodb.org/manual/reference/replica-states/ 它说

... each member of a replica set has a state that reflects...

然后看到 https://docs.mongodb.org/manual/core/replica-set-primary/ 它说

In some circumstances, two nodes in a replica set may transiently believe that they are the primary, but at most, one of them will be able to complete writes with { w: "majority" } write concern. The node that can complete { w: "majority" } writes is the current primary, and the other node is a former primary that has not yet recognized its demotion, typically due to a network partition

哪个在描述什么?

为什么文档使用 nodemember 而不是其中之一?

有区别吗?

MemberNode 在 MongoDB 上下文中可以互换。两者都是有效和合法的。随心所欲。