Closed brycezhongqing closed 7 months ago
after build pass, how about deployment and INDIS read status after the fix? will they all succeed?
after build pass, how about deployment and INDIS read status after the fix? will they all succeed?
Yeah. Updated the log. INDIS has been initializaed successfully after the fix. And checked with the service owner, got the confirmation from the business side
Context
We found that for some samza mps(sitespeed-samza-beam and samza-pem), they are excluding the io.envoy module which will casued the INDIS xds stream initialization to fail.
exclude group: 'io.envoyproxy.controlplane', module: 'api'
Analysis
The problem is the low version io.envoyproxy.controlplane is shading instead of depending on an old version of opentelemetry-proto that’s not compatible with the lib that the team is using now. The compatability issue will cause the build failed, showing that there is no ScopeMetrics class.
So after investigation, we found, now pegasus is using verion 0.1.31 for io.envoyproxy.controlplane. And the ScopeMetrics is added after 0.1.35.(java doc is here)
Solution
As the above samza mp is not using pegasus directly, the best practice is to upgrade the io.envoyproxy.controlplane version in pegasus, then bump up the pegasus version in container.
Local Test
https://lva1-app63607.corp.linkedin.com/s/x6fhh6h6o4amu/dependencies?dependencies=io.envoy&expandAll -> build successfully.
Find the INDIS successfully log
Find the
samza job
successfully log