[Groonga-commit] droonga/droonga-engine at 722c136 [master] Wait until remote command finishes

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jul 23 16:04:34 JST 2014


YUKI Hiroshi	2014-07-23 16:04:34 +0900 (Wed, 23 Jul 2014)

  New Revision: 722c136b490128965b47d00b9a9462db76cd7805
  https://github.com/droonga/droonga-engine/commit/722c136b490128965b47d00b9a9462db76cd7805

  Message:
    Wait until remote command finishes

  Modified files:
    bin/droonga-engine-absorb-data

  Modified: bin/droonga-engine-absorb-data (+3 -0)
===================================================================
--- bin/droonga-engine-absorb-data    2014-07-23 16:04:22 +0900 (b78e519)
+++ bin/droonga-engine-absorb-data    2014-07-23 16:04:34 +0900 (497a676)
@@ -99,6 +99,9 @@ if options.remote
                      "port"    => options.port,
                      "tag"     => options.tag,
                      "dataset" => options.dataset)
+  begin
+    sleep(3)
+  end while Droonga::Serf.tag(destination_node, "absorbing") == "true"
 else
   Droonga::DataAbsorber.absorb(:dataset          => options.dataset,
                                :source_host      => options.source_host,
-------------- next part --------------
HTML����������������������������...
Download 



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