We noticed a performance regression when a change was made to stop the eviction server evicting pages itself.
WT-4898, the page eviction is postponed to the eviction threads based on the following additional checks.
- Threads that are not configured for slow operations
- if WT_READ_NO_EVICT is set
With the above additional checks addition in __wt_page_release function, it leads some regression in sys-perf tests.
SUMMARY: While stopping the eviction server to evict the pages itself, it missed to add those pages tot the eviction queues, that leads to a performance regression. This fix ensures that all the pages are added to urgent queue by the eviction server.