Github user hbdeshmukh commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/14#discussion_r66706036
  
    --- Diff: query_execution/Foreman.cpp ---
    @@ -22,355 +22,189 @@
     #include <utility>
     #include <vector>
     
    -#include "catalog/CatalogDatabase.hpp"
    -#include "catalog/CatalogRelation.hpp"
    -#include "catalog/CatalogTypedefs.hpp"
    -#include "catalog/PartitionScheme.hpp"
    -#include "query_execution/QueryContext.hpp"
    -#include "query_execution/QueryExecutionMessages.pb.h"
    +#include "query_execution/AdmitRequestMessage.hpp"
     #include "query_execution/QueryExecutionTypedefs.hpp"
     #include "query_execution/QueryExecutionUtil.hpp"
     #include "query_execution/WorkerDirectory.hpp"
     #include "query_execution/WorkerMessage.hpp"
    -#include "relational_operators/RebuildWorkOrder.hpp"
    -#include "relational_operators/RelationalOperator.hpp"
    -#include "relational_operators/WorkOrder.hpp"
    -#include "storage/InsertDestination.hpp"
    -#include "storage/StorageBlock.hpp"
    -#include "storage/StorageBlockInfo.hpp"
     #include "threading/ThreadUtil.hpp"
    +#include "utility/EqualsAnyConstant.hpp"
     #include "utility/Macros.hpp"
     
    +#include "gflags/gflags.h"
     #include "glog/logging.h"
     
     #include "tmb/message_bus.h"
     #include "tmb/tagged_message.h"
     
     using std::move;
    -using std::pair;
     using std::size_t;
    +using std::unique_ptr;
     using std::vector;
     
     namespace quickstep {
     
    -void Foreman::initialize() {
    +DEFINE_uint64(min_load_per_worker, 2, "The minimum load defined as the 
number "
    --- End diff --
    
    Are you suggesting that the same variable can be used by Foreman and 
ShiftBoss? If so, then it's better to have them defined in their individual 
files. Because clearly the thresholds will be different with respect to Foreman 
and ShiftBoss. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to