eiri opened a new pull request #600: Fix race in couchdb_views_tests URL: https://github.com/apache/couchdb/pull/600 ## Overview There are a race condition in `restore_backup_db_file` function between couch_server eviction of an old db updater and a test quering view on restored db file. The query in test can get old record for the updater and then crash with `noproc` exception. This change makes `restore_backup_db_file` to wait until start of the new db updater. ## Testing recommendations The following should pass: `make eunit apps=couch suites=couchdb_views_tests tests=backup_restore_test_` ## GitHub issue number Fixes #565 ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
