futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

[NCM] NCM Not Putting VPC States into Cache during PushGoalStatesStream #708

Closed zzxgzgz closed 2 years ago

zzxgzgz commented 2 years ago

In https://github.com/futurewei-cloud/alcor/blob/master/services/network_config_manager/src/main/java/com/futurewei/alcor/netwconfigmanager/service/impl/GoalStatePersistenceServiceImpl.java#L64

NCM didn't put VPC states into cache, which leads to retrieving a null VPC state, given a valid VPC_ID, during the on-demand workflow.