camsas / firmament

The Firmament cluster scheduling platform
Apache License 2.0
415 stars 79 forks source link

NumNodes give Wrong value even if there is no nodes added to flow graph #72

Open shivramsrivastava opened 5 years ago

shivramsrivastava commented 5 years ago

NumNodes give Wrong value even if there is no nodes added to flow graph

currentid initialize to one .. when there is no node in flow graph it will return 1.

should check the initialization to one is right or not ?

Note : it is linked to previously created issue that is returning currentid insted of size of the map