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

GridFS C++ client runs getLastError() against admin database

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.2
    • Component/s: GridFS, Security, Sharding
    • Labels:
      None
    • ALL
    • Hide

      Run a sharded cluster with auth and each shard with an admin user and use the GridFS.cpp client.

      Show
      Run a sharded cluster with auth and each shard with an admin user and use the GridFS.cpp client.

      ...which is a potential issue when using against authenticated 2.2.2 clusters (where GLE is required to be against the same database as the write operation). 2.3 and above use a different auth model, so the problem doesn't exist if newer mongoses/mongods are used. However, the problem should exist using the 2.4 client library against a 2.2 cluster.

      (Note to reproduce on localhost an admin user is needed on the shards.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: