[Groonga-commit] droonga/droonga-engine at 8debc07 [master] Output more information log when a message newer than effective_message_timestamp is detected

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 7 15:08:23 JST 2015


YUKI Hiroshi	2015-04-07 15:08:23 +0900 (Tue, 07 Apr 2015)

  New Revision: 8debc0764f934c6c6aaa54ee23d9f7521e6a4a4f
  https://github.com/droonga/droonga-engine/commit/8debc0764f934c6c6aaa54ee23d9f7521e6a4a4f

  Message:
    Output more information log when a message newer than effective_message_timestamp is detected

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -0)
===================================================================
--- lib/droonga/engine.rb    2015-04-07 15:06:08 +0900 (534d68a)
+++ lib/droonga/engine.rb    2015-04-07 15:08:23 +0900 (17a7669)
@@ -139,6 +139,7 @@ module Droonga
       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")
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index