Navigation Menu

Skip to content

Commit

Permalink
Output more information log when a message newer than effective_messa…
Browse files Browse the repository at this point in the history
…ge_timestamp is detected
  • Loading branch information
piroor committed Apr 7, 2015
1 parent eb5d756 commit 8debc07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/engine.rb
Expand Up @@ -139,6 +139,7 @@ def effective_message?(message)
logger.trace("checking effective_message_timestamp (#{effective_timestamp}) vs message_timestamp(#{message_timestamp})")
return false if effective_timestamp >= message_timestamp

logger.info("New message at #{message_timestamp} (newer than #{effective_timestamp}) is detected. The effective timestamp is now cleared.")
logger.trace("deleting obsolete effective_message_timestamp: start")
@node_metadata.delete(:effective_message_timestamp)
logger.trace("deleting obsolete effective_message_timestamp: done")
Expand Down

0 comments on commit 8debc07

Please sign in to comment.