title: Getting error while Updating Collection attribute name in the MongoDB
body: <p>So I have following structure of MongoDB collection</p>
  
  <pre><code>{ "_id" : ObjectId("516c48631f6c263a24fbbe7a"), "oldname" : 1, "name" : "somename" }
  </code></pre>
  
  <p>and I want to rename OLD NAME to NEW NAME so it will look like,</p>
  
  <pre><code>{ "_id" : ObjectId("516c48631f6c263a24fbbe7a"), "newname" : 1, "name" : "somename" }
  </code></pre>
  
  <p>so I am writing this command,</p>
  
  <pre><code>db.element_type.update({}, {$rename: {'oldname': 'newname'}}, false, true);
  </code></pre>
  
  <p>But it is giving me this error</p>
  
  <pre><code>failing update: objects in a capped ns cannot grow
  </code></pre>