envoyproxy/envoy

Upstream Access Log can be incorrect if upstream stream outlives downstream

Ouverte

#26 413 ouverte le 28 mars 2023

 (3 commentaires) (0 réaction) (0 personne assignée)C++ (5 373 forks)batch import
area/access_logarea/httpbughelp wanted

Métriques du dépôt

Stars
 (27 997 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Access Log: Can be incorrect if upstream stream outlives downstream

Description:

What issue is being seen? Describe what should be happening instead of the bug, for example: Envoy should not crash, the expected value isn't returned, etc.

As demonstrated by https://github.com/envoyproxy/envoy/pull/26196/files#diff-478cdae3dba52e78ed6d1a2e4e4eb4a1aba3e80178b6c8d14707501fc1fb2ddbR3413-R3498

There are some edge scenarios where the upstream access logs will not reflect the actuality of the upstream stream due to when the access logs are captured -- on downstream stream destruction.

Guide contributeur