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
Closed

Unexpected retry occurs when query fails. #2272

ufoscw opened this issue Jun 24, 2019 · 0 comments
Assignees
Labels
bug Something isn't working @workbench Component Name : Workbench
Milestone

Comments

@ufoscw
Copy link
Contributor

ufoscw 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 bug Something isn't working @workbench Component Name : Workbench labels Jun 24, 2019
@ufoscw ufoscw added this to the 3.3.0 milestone Jun 24, 2019
@ufoscw ufoscw closed this as completed Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @workbench Component Name : Workbench
Projects
None yet
Development

No branches or pull requests

2 participants