aurora-scheduler / scheduler

Maintenance fork of Apache Aurora's Scheduler
Apache License 2.0
26 stars 15 forks source link

Fix duplicate host issue for aurora scheduler, DTCPIOPS-5221 #445

Closed lawwong1 closed 2 years ago

lawwong1 commented 2 years ago

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.