• Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Query Execution

      It would be nice to be able to create alias's/synonyms. The use case would be to swap out collections and/or data movement activities. For instance, fill up a collection with some data, then swap it into the spot where the application can see it.

      db.mycol.save(

      {"status":1}

      )
      db.alias(

      {mycol:myprodcol}

      )
      db.myprodcol.find()

      {status:1}

      db.mynewcol.save(

      {"status":0}

      )
      db.alias(

      {mynewcol:myprodcol}

      )
      <locks for metadata swap>
      db.myprodcol.find()

      {status:0}

            Votes:
            20 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated: