Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52536

Mongos to provide read from secondary shard nodes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Backlog
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 4.2.8
    • Fix Version/s: Backlog
    • Component/s: None

      Description

      If mongos could have any parameter like read only from secondary shard nodes.

      We could use secondary preferred or secondary read preferences, but in that case any user might not use this preference and able to directly read from Primary and if one need to restrict that mongos complrity from reading primary, not found any.

      To stop this we have to create a mirror cluster that will sync delta, for that we can use mongo-connector or mongo-shake third party tools.

      But these also come with challenges like: Index sync is not possible. 

      Here is community discussion I had: https://developer.mongodb.com/community/forums/t/mongo-connector/8062

      It would be great feature if mongos could be restricted at that level to read from primary.

       

       

        Attachments

          Activity

            People

            Assignee:
            salman.baset Salman Baset
            Reporter:
            aayushi.mangal3@gmail.com Aayushi Mangal
            Participants:
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated: