Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 65797200BC3 for ; Fri, 18 Nov 2016 23:32:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 62F3B160B04; Fri, 18 Nov 2016 22:32:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AEF15160B03 for ; Fri, 18 Nov 2016 23:32:24 +0100 (CET) Received: (qmail 94947 invoked by uid 500); 18 Nov 2016 22:32:23 -0000 Mailing-List: contact commits-help@quickstep.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@quickstep.incubator.apache.org Delivered-To: mailing list commits@quickstep.incubator.apache.org Received: (qmail 94937 invoked by uid 99); 18 Nov 2016 22:32:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 22:32:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 843ADC0D64 for ; Fri, 18 Nov 2016 22:32:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id kQU_cWIx2Yj8 for ; Fri, 18 Nov 2016 22:32:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id D9CF05F570 for ; Fri, 18 Nov 2016 22:32:21 +0000 (UTC) Received: (qmail 94918 invoked by uid 99); 18 Nov 2016 22:32:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 22:32:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EB3C8EFE5E; Fri, 18 Nov 2016 22:32:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: zuyuz@apache.org To: commits@quickstep.incubator.apache.org Date: Fri, 18 Nov 2016 22:32:24 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [5/6] incubator-quickstep git commit: A better debug log for worker. archived-at: Fri, 18 Nov 2016 22:32:25 -0000 A better debug log for worker. Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/e44d2545 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/e44d2545 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/e44d2545 Branch: refs/heads/multi-shiftboss-test Commit: e44d2545ae9434fffb604578aabc3a107f257203 Parents: 71d42d8 Author: Zuyu Zhang Authored: Thu Nov 17 15:10:03 2016 -0800 Committer: Zuyu Zhang Committed: Fri Nov 18 14:32:08 2016 -0800 ---------------------------------------------------------------------- query_execution/Worker.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/e44d2545/query_execution/Worker.cpp ---------------------------------------------------------------------- diff --git a/query_execution/Worker.cpp b/query_execution/Worker.cpp index 31eb964..ec6c503 100644 --- a/query_execution/Worker.cpp +++ b/query_execution/Worker.cpp @@ -107,7 +107,14 @@ void Worker::sendWorkOrderCompleteMessage(const tmb::client_id receiver, static_cast(proto_bytes), proto_length, message_type); std::free(proto_bytes); - DLOG(INFO) << "Worker sent WorkOrderCompleteMessage (typed '" << message_type + DLOG(INFO) << "Worker" +#ifdef QUICKSTEP_DISTRIBUTED + << " in Shiftboss " << shiftboss_index_ +#endif // QUICKSTEP_DISTRIBUTED + << " sent " + << (message_type == kWorkOrderCompleteMessage ? "WorkOrderCompleteMessage" + : "RebuildWorkOrderCompleteMessage") + << " (typed '" << message_type << "') to Scheduler with TMB client ID " << receiver; const tmb::MessageBus::SendStatus send_status = QueryExecutionUtil::SendTMBMessage(