I want to add some clarifications to what @viraj_thakrar wrote.

Yes, all read operations, when using default readConcern and readPreference, will be performed on the primary. However, all data bearing nodes in a replica set (not only the primary) handle all the write operations and also have all the indexes.

1 Like