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

Plug Nouveau APIs with API lifecycle #9691

Open
m5r opened this issue Dec 4, 2024 · 0 comments
Open

Plug Nouveau APIs with API lifecycle #9691

m5r opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
Type: Feature Add something new

Comments

@m5r
Copy link
Member

m5r commented Dec 4, 2024

What feature do you want to improve?

Describe the improvement you'd like

Additional context
Track indexing progress: GET /_active_tasks

Example response with nouveau indexing in progress:

[
  {
    "node": "[email protected]",
    "pid": "<0.22282.4>",
    "process_status": "running",
    "changes_done": 915433,
    "database": "shards/20000000-3fffffff/medic.1559595003",
    "design_document": "_design/medic-nouveau",
    "index": "contacts_by_freetext",
    "progress": 92,
    "started_on": 1732718731,
    "total_changes": 984938,
    "type": "search_indexer",
    "updated_on": 1732719464
  },
  {
    "node": "[email protected]",
    "pid": "<0.22283.4>",
    "process_status": "waiting",
    "changes_done": 864788,
    "database": "shards/20000000-3fffffff/medic.1559595003",
    "design_document": "_design/medic-nouveau",
    "index": "reports_by_freetext",
    "progress": 87,
    "started_on": 1732718731,
    "total_changes": 984938,
    "type": "search_indexer",
    "updated_on": 1732719464
  },
  {
    "node": "[email protected]",
    "pid": "<0.22358.4>",
    "process_status": "waiting",
    "changes_done": 914830,
    "database": "shards/00000000-1fffffff/medic.1  559595003",
    "design_document": "_design/medic-nouveau",
    "index": "contacts_by_freetext",
    "progress": 92,
    "started_on": 1732718731,
    "total_changes": 987896,
    "type": "search_indexer",
    "updated_on": 1732719464
  },
  {
    "node": "[email protected]",
    "pid": "<0.22359.4>",
    "process_status": "waiting",
    "changes_done": 865463,
    "database": "shards/00000000-1fffffff/medic.1559595003",
    "design_document": "_design/medic-nouveau",
    "index": "reports_by_freetext",
    "progress": 87,
    "started_on": 1732718731,
    "total_changes": 987896,
    "type": "search_indexer",
    "updated_on": 1732719464
  }
]

Clean up nouveau indexes: POST /{db}/_search_cleanup

@m5r m5r added the Type: Feature Add something new label Dec 4, 2024
@m5r m5r moved this from Todo to This Week's commitments in Product Team Activities Dec 16, 2024
@m5r m5r self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Add something new
Projects
Status: This Week's commitments
Development

No branches or pull requests

1 participant