It looks like a new document is being created every time a snapshot/backup is taken on a RDS database. This has the effect of creating way to many document revisions. We need to filter out the latestRestorableTime when comparing records in an overload Collection.newStateTimeForChange
$ curl 'http://localhost:8080/edda/api/v2/aws/databases/<dbname>;_all;_limit=10;_diff=0'
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370296312238
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370296672399
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:50:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:55:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370296071805
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370296312238
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:45:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:50:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295708398
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370296071805
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:40:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:45:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295468396
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295708398
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:35:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:40:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295108221
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295468396
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:30:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:35:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294868640
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370295108221
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:25:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:30:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294508410
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294868640
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:20:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:25:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294267931
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294508410
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:15:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:20:00.000Z",
--- /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370293907999
+++ /edda/api/v2/aws/databases/<dbname>;_pp;_at=1370294267931
@@ -36,1 +36,1 @@
- "latestRestorableTime" : "2013-06-03T21:10:00.000Z",
+ "latestRestorableTime" : "2013-06-03T21:15:00.000Z",