Closed lawwong1 closed 2 years ago
This PR fixes duplicate host issue for aurora scheduler. Re-write the code to fix the issue, and still keep O(n) in processing response for efficiency to scale.
Set up a local cluster by cloning repo: https://github.com/lenhattan86/aurora-docker Instructions in https://engineering.paypalcorp.com/confluence/pages/viewpage.action?spaceKey=GE&title=Aurora+scheduler+development+environment+and+test+setup, section Setup Aurora Scheduler testing environment. Change magicmatch/docker-compose.yml to have offers with 2 duplicate hostname to test the issue.
Description:
This PR fixes duplicate host issue for aurora scheduler. Re-write the code to fix the issue, and still keep O(n) in processing response for efficiency to scale.
Testing Done:
Set up a local cluster by cloning repo: https://github.com/lenhattan86/aurora-docker Instructions in https://engineering.paypalcorp.com/confluence/pages/viewpage.action?spaceKey=GE&title=Aurora+scheduler+development+environment+and+test+setup, section Setup Aurora Scheduler testing environment. Change magicmatch/docker-compose.yml to have offers with 2 duplicate hostname to test the issue.