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

Unexpected retry occurs when query fails. #2272

Closed
ufoscw opened this issue Jun 24, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@ufoscw
Copy link
Contributor

commented Jun 24, 2019

Describe the bug
Automatically retry query execution if query execution fails in workbench.
Jun-24-2019 16-54-29

To Reproduce
Add the following code to the loop statement in the QueryEditorService.java (199) line:

...
...
...
      queryHistoryRepository.save(queryHistory);
      LOGGER.debug("QueryHistory Updated : " + queryHistory.getId());

      queryResult.setQueryHistoryId(queryHistory.getId());
      
      //add this line
      throw new WorkbenchException(WorkbenchErrorCodes.QUERY_STATUS_ERROR_CODE, "Test Error");
    }

Steps to reproduce the behavior:

  1. Go to Workbench
  2. execute query
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ufoscw ufoscw added this to the 3.3.0 milestone Jun 24, 2019

eltriny pushed a commit that referenced this issue Jun 27, 2019

@ufoscw ufoscw closed this Jun 28, 2019

eltriny pushed a commit that referenced this issue Jun 30, 2019

alchan-lee added a commit to alchan-lee/metatron-discovery that referenced this issue Jul 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.