Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8886

After a query handle is invalidated, subsequent fetch requests should return NotFound

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.0.0
    • Component/s: Explore
    • Labels:
      None
    • Rank:
      1|hzzx5b:

      Description

      Currently:

      • if fetching yields an empty list, the handle is "time out aggressively", that is, it is moved from the active handle cache to the inactive handle cache
      • next fetch, if it finds the handle in the inactive handle cache, returns []. Instead, this should return 404.

      https://github.com/caskdata/cdap/blob/develop/cdap-explore/src/main/java/co/cask/cdap/explore/service/hive/BaseHiveExploreService.java#L980

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: