From 05943e91fd578f255056ade9d53afa62f855ed53 Mon Sep 17 00:00:00 2001 From: Peter Findeisen Date: Wed, 28 Aug 2024 13:58:06 -0700 Subject: [PATCH] Fine tuning the behavior of GetAttributes for AnyOf sampler. --- text/0250-Composite_Samplers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/0250-Composite_Samplers.md b/text/0250-Composite_Samplers.md index 910195bbd..5a1eb4dfc 100644 --- a/text/0250-Composite_Samplers.md +++ b/text/0250-Composite_Samplers.md @@ -227,7 +227,7 @@ Upon invocation of its `GetSamplingIntent` function, it MUST go through the whol `ConsistentAnyOf` sampler MUST return a `SamplingIntent` which is constructed as follows: - If any of the delegates returned a non-`null` threshold value, the resulting threshold is the lexicographical minimum value from the set of those non-`null` values, otherwise `null`. -- The `GetAttributes` function calculates the union of `Attribute` sets as returned by the calls to `GetAttributes` function for each delegate (in the declared order) that returned a non-`null` threshold value. +- The `GetAttributes` function calculates the union of `Attribute` sets as returned by the calls to `GetAttributes` function for each delegate, in the declared order. - The `UpdateTraceState` function makes a chain of calls to the `UpdateTraceState` functions as returned by the delegates, passing the received `Tracestate` as argument to subsequent calls and returning the last value received. Each delegate sampler MUST be given a chance to participate in calculating the `SamplingIntent` as described above and MUST see the same argument values. The order of the delegate samplers does not affect the final sampling `Decision`.