sergey-safarov opened a new issue, #5710: URL: https://github.com/apache/couchdb/issues/5710
## Description On a database with about 100,000 documents, I can request the same view two or more times, and this triggers multiple index rebuilds. This has a multiplicative effect when a small request triggers the same CPU and disk resources consumption operation multiple times. Please check the screenshot <img width="2449" height="1014" alt="Image" src="https://github.com/user-attachments/assets/04a0c2ed-e585-45ba-9825-2b56987bd42d" /> I'm sure that before starting a new index task, required to check if another index task is present. And if present, wait until the first index operation is finished or exit with a specific response. ## Steps to Reproduce On a database with 100,000 documents, request the same view two ot more times. ## Expected Behaviour Multiple view requests should trigger only one index task. ## Your Environment * CouchDB version used: 3.5.0 * Browser name and version: Google Chrome * Operating system and version: CentOS 8 ## Additional Context None. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
