quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbdeshmukh <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #127: Use BlockLocator and DataExchangerAsy...
Date Tue, 15 Nov 2016 03:53:01 GMT
Github user hbdeshmukh commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/127#discussion_r87943927
  
    --- Diff: query_optimizer/tests/DistributedExecutionGeneratorTestRunner.cpp ---
    @@ -158,5 +193,44 @@ void DistributedExecutionGeneratorTestRunner::runTestCase(
       }
     }
     
    +block_id_domain DistributedExecutionGeneratorTestRunner::getBlockDomain(
    +    const string &network_address) {
    +  serialization::BlockDomainRegistrationMessage proto;
    +  proto.set_domain_network_address(network_address);
    +
    +  const int proto_length = proto.ByteSize();
    +  char *proto_bytes = static_cast<char*>(malloc(proto_length));
    +  CHECK(proto.SerializeToArray(proto_bytes, proto_length));
    +
    +  TaggedMessage message(static_cast<const void*>(proto_bytes),
    +                        proto_length,
    +                        kBlockDomainRegistrationMessage);
    +  free(proto_bytes);
    +
    +  LOG(INFO) << "Client (id '" << cli_id_
    --- End diff --
    
    This is optional, but we could have this message printed as DLOG. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message