Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created June 9, 2012 14:24
Show Gist options
  • Save chintanparikh/2901154 to your computer and use it in GitHub Desktop.
Save chintanparikh/2901154 to your computer and use it in GitHub Desktop.
nokogiri_xml_xpath
require 'nokogiri'
require 'open-uri'
xml_content = <<XML
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:usr="http://streams.atlassian.com/syndication/username/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
<title>MongoDB - Activity Stream</title>
<id>https://jira.mongodb.org</id>
<updated>2012-06-09T13:57:52Z</updated>
<dc:date>2012-06-09T13:57:52Z</dc:date>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe'>Colin Howe</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6026">SERVER-6026</a> (Primary failed - secondaries would not take over)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-6026"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>Colin Howe</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe
</uri>
<usr:username>colinhowe</usr:username>
</author>
<id>urn:uuid:cd0bae61-4aa1-3a96-8430-e98631e72a14</id>
<updated>2012-06-09T08:32:09Z</updated>
<published>2012-06-09T08:32:09Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe'>Colin Howe</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6026">SERVER-6026</a> (Primary failed - secondaries would not take over) saying: <div class="activity-item-description"><p>Unfortunately we don't have the logs - we deleted them as the quickest way to get the server back up and running. I imagine it wouldn't be too hard to replicate though</p></div>
</summary>
<dc:date>2012-06-09T08:32:09Z</dc:date>
<thr:in-reply-to ref="urn:uuid:cbe0cd1f-ef5b-3f46-b60f-536f76bdbf8b"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe'>Colin Howe</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6029">SERVER-6029</a> (Replication failing - replSet syncTail: 0 assertion db/pdfile.cpp:398)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-6029"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>Colin Howe</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe
</uri>
<usr:username>colinhowe</usr:username>
</author>
<id>urn:uuid:eabc9f42-3394-3ace-abbf-a62b98ea0011</id>
<updated>2012-06-09T08:29:11Z</updated>
<published>2012-06-09T08:29:11Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=colinhowe'>Colin Howe</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6029">SERVER-6029</a> (Replication failing - replSet syncTail: 0 assertion db/pdfile.cpp:398) saying: <div class="activity-item-description"><p>It's possible the backup didn't copy across properly - we copied the entire backup again and it worked fine.</p> <p>However, it would be useful if the logs said this instead of just spewing assertions.</p></div>
</summary>
<dc:date>2012-06-09T08:29:11Z</dc:date>
<thr:in-reply-to ref="urn:uuid:3aefd800-e7a2-31a3-bd60-c2e7c06f098c"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:9b575e5a-8aa8-35da-a109-ddfe7a8d0d3d</id>
<updated>2012-06-09T02:46:38Z</updated>
<published>2012-06-09T02:46:38Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'gregs', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> sharded indexing depends on the db sharding status<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/13aa0a0276eb239454da00d65f8f15aa1a97bb10">https://github.com/mongodb/mongo/commit/13aa0a0276eb239454da00d65f8f15aa1a97bb10</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:38Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:41b14484-8039-325b-8e99-baf451e75f58</id>
<updated>2012-06-09T02:46:36Z</updated>
<published>2012-06-09T02:46:36Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'gregs', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> ref not value<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/4c881e3c93ee29fa4ca22d9da7b7a45150448455">https://github.com/mongodb/mongo/commit/4c881e3c93ee29fa4ca22d9da7b7a45150448455</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:36Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:76075ee7-b1cf-3eb2-b15f-8345490d384c</id>
<updated>2012-06-09T02:46:34Z</updated>
<published>2012-06-09T02:46:34Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'gregs', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> test that invalid writes are detected even when mongos initially stale</p> <p>also requires a fix for the WBL to report errors more nicely<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/a65d2bc01f263ccefc1a7392f48b362338c83daf">https://github.com/mongodb/mongo/commit/a65d2bc01f263ccefc1a7392f48b362338c83daf</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:34Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4732">SERVER-4732</a> (potential segfault on full config reload during wbl if collection is dropped / unsharded but still receives writebacks)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4732"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:c2cdc3c4-a007-3331-b141-3bd52447ee91</id>
<updated>2012-06-09T02:46:33Z</updated>
<published>2012-06-09T02:46:33Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4732">SERVER-4732</a> (potential segfault on full config reload during wbl if collection is dropped / unsharded but still receives writebacks) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> and <a href="/browse/SERVER-4732" title="potential segfault on full config reload during wbl if collection is dropped / unsharded but still receives writebacks">SERVER-4732</a> make wbl less aggressive and more tolerant of dropping sharded collections</p> <p>also better track and message how many writebacks are being processed<br/> at each version<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/bc4475ebcb2548e21fadf44549b73f61f0c577ce">https://github.com/mongodb/mongo/commit/bc4475ebcb2548e21fadf44549b73f61f0c577ce</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:33Z</dc:date>
<thr:in-reply-to ref="urn:uuid:59c4800c-da6d-3737-9e19-0fab386990b6"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:29229255-cca4-3e07-87bc-b65ab5b7a2cf</id>
<updated>2012-06-09T02:46:31Z</updated>
<published>2012-06-09T02:46:31Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> and <a href="/browse/SERVER-4732" title="potential segfault on full config reload during wbl if collection is dropped / unsharded but still receives writebacks">SERVER-4732</a> make wbl less aggressive and more tolerant of dropping sharded collections</p> <p>also better track and message how many writebacks are being processed<br/> at each version<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/bc4475ebcb2548e21fadf44549b73f61f0c577ce">https://github.com/mongodb/mongo/commit/bc4475ebcb2548e21fadf44549b73f61f0c577ce</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:31Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:4163dabe-4336-335f-b4a8-52015fbee2f3</id>
<updated>2012-06-09T02:46:30Z</updated>
<published>2012-06-09T02:46:30Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> remove race condition on config reload in sharded remove</p> <p>again, also refactor option parameters<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/d7f89643a917538fa953a17d80acc164fb4885ad">https://github.com/mongodb/mongo/commit/d7f89643a917538fa953a17d80acc164fb4885ad</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:30Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:be81b636-4dbd-3f34-9f70-64acc6a8c75f</id>
<updated>2012-06-09T02:46:28Z</updated>
<published>2012-06-09T02:46:28Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-5200" title="slowNightly tests failing on sharding_balance4.js">SERVER-5200</a> and <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> remove race condition with simultaneous config reload from update</p> <p>also refactor to make option-passing cleaner<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/9494663f0ab571215dba96f10cdca78a1a36cddc">https://github.com/mongodb/mongo/commit/9494663f0ab571215dba96f10cdca78a1a36cddc</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:28Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-5200">SERVER-5200</a> (slowNightly tests failing on sharding_balance4.js)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-5200"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:32f70d44-45a8-348a-bacd-0a1ff2f25a8c</id>
<updated>2012-06-09T02:46:27Z</updated>
<published>2012-06-09T02:46:27Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-5200">SERVER-5200</a> (slowNightly tests failing on sharding_balance4.js) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-5200" title="slowNightly tests failing on sharding_balance4.js">SERVER-5200</a> and <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> remove race condition with simultaneous config reload from update</p> <p>also refactor to make option-passing cleaner<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/9494663f0ab571215dba96f10cdca78a1a36cddc">https://github.com/mongodb/mongo/commit/9494663f0ab571215dba96f10cdca78a1a36cddc</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:27Z</dc:date>
<thr:in-reply-to ref="urn:uuid:efa7b163-043c-37b5-b5a3-85cf9982d240"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:4afbcc81-d331-3339-b5da-ad9e517f594c</id>
<updated>2012-06-09T02:46:25Z</updated>
<published>2012-06-09T02:46:25Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> refactor mongos insert logic, make more modular, normalize options<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/5390d21c7d997ba2447d8a0a58e95d208b5d4218">https://github.com/mongodb/mongo/commit/5390d21c7d997ba2447d8a0a58e95d208b5d4218</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:25Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:d51a690a-92b1-3e3f-8fe5-62619cd3c800</id>
<updated>2012-06-09T02:46:24Z</updated>
<published>2012-06-09T02:46:24Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> refactor and cleanly catch exception when getMore cursor isn't found</p> <p>Otherwise propagates as a "HostAndPort host empty" error, which is very misleading.<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/96b1b65dc66966fe8f17a30c5bde6036e2c8588d">https://github.com/mongodb/mongo/commit/96b1b65dc66966fe8f17a30c5bde6036e2c8588d</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:24Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-4262"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>auto</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto
</uri>
<usr:username>auto</usr:username>
</author>
<id>urn:uuid:079c9389-4ebb-3c69-a4bd-d85aabb083d3</id>
<updated>2012-06-09T02:46:22Z</updated>
<published>2012-06-09T02:46:22Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=auto'>auto</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-4262">SERVER-4262</a> (when dropping collections need to invalidate all conn sharding state) saying: <div class="activity-item-description"><p>Author:{u'login': u'gregstuder', u'name': u'Greg Studer', u'email': u'[email protected]'}<br/> Message: <a href="/browse/SERVER-4262" title="when dropping collections need to invalidate all conn sharding state">SERVER-4262</a> make dropping sharded databases and collections safer for multiple processes</p> <p>In particular, a database drop may abort at any collection which has a lock taken, and so<br/> we want retries because of this to do the right thing.<br/> Branch: master<br/> <a href="https://github.com/mongodb/mongo/commit/a0a9c81ca415f9c9b3c5e7bc2379a147d85e67dc">https://github.com/mongodb/mongo/commit/a0a9c81ca415f9c9b3c5e7bc2379a147d85e67dc</a></p></div>
</summary>
<dc:date>2012-06-09T02:46:22Z</dc:date>
<thr:in-reply-to ref="urn:uuid:bfae42aa-3bca-3e6b-b084-3dde776cecbe"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> resolved <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-6046"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="resolved"/>
<author>
<name>Tad Marshall</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad
</uri>
<usr:username>tad</usr:username>
</author>
<id>urn:uuid:33f9be07-52d5-37dc-81be-23fa44020bda</id>
<updated>2012-06-09T01:20:15Z</updated>
<published>2012-06-09T01:20:15Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> resolved <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service)
</summary>
<dc:date>2012-06-09T01:20:15Z</dc:date>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Link to 'This issue duplicates SERVER-3097' on <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-6046"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<author>
<name>Tad Marshall</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad
</uri>
<usr:username>tad</usr:username>
</author>
<id>urn:uuid:22f735fc-1cc4-3f73-8e1a-cf31dce88c50</id>
<updated>2012-06-09T01:19:48Z</updated>
<published>2012-06-09T01:19:48Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Link to 'This issue duplicates SERVER-3097' on <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service)
</summary>
<dc:date>2012-06-09T01:19:48Z</dc:date>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Link to 'This issue is duplicated by SERVER-6046' on <a href="https://jira.mongodb.org/browse/SERVER-3097">SERVER-3097</a> (mongod --install uses wrong image path depending on current working directory)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-3097"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<author>
<name>Tad Marshall</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad
</uri>
<usr:username>tad</usr:username>
</author>
<id>urn:uuid:aa8e3281-7dea-33fa-89a6-e77649cc5974</id>
<updated>2012-06-09T01:19:48Z</updated>
<published>2012-06-09T01:19:48Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Link to 'This issue is duplicated by SERVER-6046' on <a href="https://jira.mongodb.org/browse/SERVER-3097">SERVER-3097</a> (mongod --install uses wrong image path depending on current working directory)
</summary>
<dc:date>2012-06-09T01:19:48Z</dc:date>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-6046"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="comment"/>
<author>
<name>Tad Marshall</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad
</uri>
<usr:username>tad</usr:username>
</author>
<id>urn:uuid:7cfb1cd1-8bcd-339d-8b1b-8a3074341ca7</id>
<updated>2012-06-09T01:19:23Z</updated>
<published>2012-06-09T01:19:23Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> commented on <a href="https://jira.mongodb.org/browse/SERVER-6046">SERVER-6046</a> (--install on Windows uses working directory instead of path to mongod to install Windows service) saying: <div class="activity-item-description"><p>Hi Ryan,</p> <p>I'm sorry to do this to you again, but this one is also fixed in 2.1.0. It's <a href="/browse/SERVER-3097" title="mongod --install uses wrong image path depending on current working directory"><del>SERVER-3097</del></a>, and I just requested backport on it (to try to get it into 2.0.x).</p> <p>Tad</p></div>
</summary>
<dc:date>2012-06-09T01:19:23Z</dc:date>
<thr:in-reply-to ref="urn:uuid:815c6529-6bdb-3b32-8f21-3f20d2a192a4"/>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Backport to 'Yes' on <a href="https://jira.mongodb.org/browse/SERVER-3097">SERVER-3097</a> (mongod --install uses wrong image path depending on current working directory)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/SERVER-3097"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<author>
<name>Tad Marshall</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad
</uri>
<usr:username>tad</usr:username>
</author>
<id>urn:uuid:4e624167-d721-3f4e-8a58-77bf456fc71a</id>
<updated>2012-06-09T01:15:41Z</updated>
<published>2012-06-09T01:15:41Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=tad'>Tad Marshall</a> changed the Backport to 'Yes' on <a href="https://jira.mongodb.org/browse/SERVER-3097">SERVER-3097</a> (mongod --install uses wrong image path depending on current working directory) saying: <div class="activity-item-description"><p>Adding Backport: Yes.</p></div>
</summary>
<dc:date>2012-06-09T01:15:41Z</dc:date>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=dcrosta'>Dan Crosta</a> closed <a href="https://jira.mongodb.org/browse/BUILDBOT-142">BUILDBOT-142</a> (joyent1 buildslave is offline)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/BUILDBOT-142"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="closed"/>
<author>
<name>Dan Crosta</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=dcrosta
</uri>
<usr:username>dcrosta</usr:username>
</author>
<id>urn:uuid:1ec928fb-245f-3fd6-8c8c-5d69e448fc29</id>
<updated>2012-06-09T01:09:19Z</updated>
<published>2012-06-09T01:09:19Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=dcrosta'>Dan Crosta</a> closed <a href="https://jira.mongodb.org/browse/BUILDBOT-142">BUILDBOT-142</a> (joyent1 buildslave is offline)
</summary>
<dc:date>2012-06-09T01:09:19Z</dc:date>
</entry>
<entry>
<title type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=wes%40skeweredrook.com'>Wes Freeman</a> created <a href="https://jira.mongodb.org/browse/JAVA-586">JAVA-586</a> (ObjectId MachineId uses network interface names instead of mac address or something more unique)
</title>
<link rel="alternate" href="https://jira.mongodb.org/browse/JAVA-586"/>
<link rel="http://streams.atlassian.com/syndication/icon" href="https://jira.mongodb.org/images/icons/bug.gif"/>
<category term="created"/>
<author>
<name>Wes Freeman</name>
<uri>
https://jira.mongodb.org/secure/ViewProfile.jspa?name=wes%40skeweredrook.com
</uri>
<usr:username>[email protected]</usr:username>
</author>
<id>urn:uuid:db5c721a-5ce7-3848-8b07-6b5b7fe1a82a</id>
<updated>2012-06-08T23:42:12Z</updated>
<published>2012-06-08T23:42:12Z</published>
<summary type="html">
<a href='https://jira.mongodb.org/secure/ViewProfile.jspa?name=wes%40skeweredrook.com'>Wes Freeman</a> created <a href="https://jira.mongodb.org/browse/JAVA-586">JAVA-586</a> (ObjectId MachineId uses network interface names instead of mac address or something more unique)
</summary>
<dc:date>2012-06-08T23:42:12Z</dc:date>
</entry>
</feed>
XML
xml = Nokogiri::XML(xml_content)
xml.xpath('//usr:username').each do |username|
puts username.content
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment