Expected Behavior
The delegate owner should be warned that their server will not run MongoDB 5.0.5 due to the limitations of their processor.
Current Behavior
Delegate owners are only informed of the processor requirements when MongoDB fails to start after an upgrade/install, requiring a back out procedure.
Possible Solution
There should be a notification written into either the install/upgrade script or into xcash-dpops itself to check the /proc/cpuinfo flags and determine if the cpu meets the requirements of MongoDB 5.0.5 (namely the AVX flag, and possibly the SSE). If in the script, you should consider whether you want to block installations up front so that no update occurs at all on an invalid server and requires them to fix it first. If in xcash-dpops it should display the warning periodically (per block?) indicating that the cpu is missing the flags required by MongoDB and therefor this processor/system should be considered deprecated and efforts to replace it should start immediately.
Context
Encountered a failed delegate situation after an older server I was running did not meet MongoDB 5.0.5 processor requirements and would not start MongoDB.
Expected Behavior The delegate owner should be warned that their server will not run MongoDB 5.0.5 due to the limitations of their processor.
Current Behavior Delegate owners are only informed of the processor requirements when MongoDB fails to start after an upgrade/install, requiring a back out procedure.
Possible Solution There should be a notification written into either the install/upgrade script or into xcash-dpops itself to check the /proc/cpuinfo flags and determine if the cpu meets the requirements of MongoDB 5.0.5 (namely the AVX flag, and possibly the SSE). If in the script, you should consider whether you want to block installations up front so that no update occurs at all on an invalid server and requires them to fix it first. If in xcash-dpops it should display the warning periodically (per block?) indicating that the cpu is missing the flags required by MongoDB and therefor this processor/system should be considered deprecated and efforts to replace it should start immediately.
Context Encountered a failed delegate situation after an older server I was running did not meet MongoDB 5.0.5 processor requirements and would not start MongoDB.