Permalink
Browse files

Debug log message

  • Loading branch information...
1 parent 5ce9153 commit ff42d1b76843a67a152a5c18610a306fed2005bc @hofmeister committed Jun 8, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/java/com/github/rnewson/couchdb/lucene/DatabaseIndexer.java
@@ -325,6 +325,7 @@ public Void handleResponse(final HttpResponse response)
}
final UpdateSequence seq = UpdateSequence.parseUpdateSequence(json.getString("seq"));
+
final String id = json.getString("id");
CouchDocument doc = null;
boolean isDeleted = false;
@@ -385,7 +386,9 @@ public Void handleResponse(final HttpResponse response)
}
state.setPendingSequence(seq);
state.readerDirty = true;
- }
+ } else {
+ logger.warn(String.format("%s is not later than %s",seq,state.pending_seq));
+ }
}
}
} catch (final JSONException e) {

0 comments on commit ff42d1b

Please sign in to comment.