Open PerforMance308 opened 2 days ago
Can you enable kmesh debug log level and paste the log here?
I manually added logs to every handlexdsResponse
function :
And same for handleEdsResponse
and handleLdsResponse
function,
from the log we can see that only CDS and EDS were printed.
But after restarting kmesh, all xDS could be updated
What istiod version? And @lec-bit and I fixed a similar bug in v0.5 https://github.com/kmesh-net/kmesh/pull/890
istio v1.19
After line 283 of this log file, I performed an update operation on the VirtualService, only modifying the match prefix. The content printed shows that no RDS update was received.
I suspect this is due to this part of code directly.
We do not cleanup p.Cache.routeNames
even when xds connection reconnected, so after reconnect, this route name check maybe equal(because only vs match prefix updated here.)
Actually on istiod side, a new xds connection will not share any info with previous connection, so it has no info about what route names the client subscribed, So it will have no route at all, then no need to push
What happened:
After running KMesh for an long period without any operations, RDS stops updating. The following observations were made:
/test
to/test-echo
does not update.What you expected to happen:
Modifications to VirtualService should be applied without needing to restart KMesh.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: