During one of the code reviews for
SERVER-31785, we noticed that there are now many generally-useful helper functions scattered across many different helper files in various subdirectories:
- arrayEq() is in aggregation/extras/utils.js
- node type introspection helpers in concurrency/fsm_workload_helpers/server_types.js
It would be nice if we could reorganize our helper functions and put the general purpose ones in a single place so that people can find them easily and not realize they have to reinvent the wheel. The suite-specific helper directories should stay, but they should contain helpers that are useful for that particular suite only.