Skip to content

Search query locked up when a non-full time range is specified. #659

@junhaoliao

Description

@junhaoliao

Bug

It was observed that when a search query is submitted in the Web UI with a non-full time range, the search query will be in pending status indefinitely. The issue is not observed with the default "All Time" time range.

By method of exclusion, it is believed that this is the violating change 24f5fdf: #426

CLP version

5d3b671

Environment

Ubuntu Jammy WSL
Microsoft Edge: Version 131.0.2903.112 (Official build) (64-bit)

Reproduction steps

  1. Clone the repo.
  2. git checkout 24f5fdf7ecd056ea4fb8d82afbf52bac1267a037
  3. task to build the package.
  4. cd build/clp-package/sbin
  5. ./start-clp.sh
  6. ./compress.sh ~/sample/hive-24hr
  7. Launch the Web UI's search panel http://localhost:4000/search in a browser.
  8. Query with 1 and observe the query completes successfully.
  9. Use the timeline to change the time range to a narrower one like Year 2008 - Year 2015. As a result, a query is started with the narrower time range. Observe that the query keeps running with a pending status.
  10. Check the job orchestration db and find that the job has a PENDING status.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions