From 7ae302aa0dba1d1ea4bbeffae1917792722460c8 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Fri, 26 Aug 2022 23:40:44 -0700 Subject: Add truncation_fixed field to HashingCosts This allows us to fix the bug where Parallelism is inadvertantly truncated to 8 bits in a backwards compatible way. Signed-off-by: Joe Richey --- metadata/metadata.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metadata/metadata.proto') diff --git a/metadata/metadata.proto b/metadata/metadata.proto index 88d1931..f2dd78f 100644 --- a/metadata/metadata.proto +++ b/metadata/metadata.proto @@ -31,6 +31,8 @@ message HashingCosts { int64 time = 2; int64 memory = 3; int64 parallelism = 4; + // If true, parallelism should no longer be truncated to 8 bits. + bool truncation_fixed = 5; } // This structure is used for our authenticated wrapping/unwrapping of keys. -- cgit v1.2.3