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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.2
    • Component/s: GridFS, Security, Sharding
    • 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.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ...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
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: