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

[FEATURE] Index refresh job management phase 2 #190

Closed
dai-chen opened this issue Dec 11, 2023 · 1 comment
Closed

[FEATURE] Index refresh job management phase 2 #190

dai-chen opened this issue Dec 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dai-chen
Copy link
Collaborator

Is your feature request related to a problem?

In Flint 0.1, #57 added RECOVER INDEX JOB statement for index refresh job restart. There are other useful management statements still missing, such as show index refresh status and progress, stop index auto refresh etc.

What solution would you like?

  1. SHOW INDEX JOB statement shows job info that may include:
    a. Job status (refreshing or terminated)
    b. Progress (how many files are refreshed)
    c. Last update time (heartbeat timestamp)
  2. CANCEL INDEX JOB statement terminates the refresh job (index data will be stale later). Example use includes:
    a. Current index data is sufficient for user;
    b. Gracefully stop the refresh job before internal deployment
@dai-chen
Copy link
Collaborator Author

The requirements here is partially met in the following work:

  1. [FEATURE] Show Flint indexes support #265: Show Flint index statement display both index metadata and state
  2. [FEATURE] Support for ALTERING options of existing flint indices. #278: Alter index statement makes more sense than cancel, otherwise auto refresh index semantic is violated

Closing and reopen in future as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant