Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen when LBDataRestartReader is created #2086

Closed
lifflander opened this issue Feb 9, 2023 · 0 comments · Fixed by #2089
Closed

Loosen when LBDataRestartReader is created #2086

lifflander opened this issue Feb 9, 2023 · 0 comments · Fixed by #2089
Assignees

Comments

@lifflander
Copy link
Collaborator

Describe the bug
Right now the condition is far too specific.

bool Runtime::needLBDataRestartReader() {
  #if vt_check_enabled(lblite)
    if (arg_config_->config_.vt_lb_data) {
      auto lbNames = vrt::collection::balance::get_lb_names();
      auto mapLB = vrt::collection::balance::LBType::OfflineLB;
      if (arg_config_->config_.vt_lb_name == lbNames[mapLB]) {
        return true;
      }
    }
  #endif
  return false;
}
@lifflander lifflander self-assigned this Feb 9, 2023
@lifflander lifflander linked a pull request Feb 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant