From 6e43f24b7329464207bc292aae843d1888291f47 Mon Sep 17 00:00:00 2001 From: Lorcan Wogan <69468264+LWogan@users.noreply.github.com> Date: Thu, 2 Nov 2023 10:06:38 +0000 Subject: [PATCH] CORE-17958 Limit the length of client request ids to 242 characters. This string is combined with the vnode shorthash to make a key for flow mapper states records for start flow events. The flow mapper state is stored in the state storage which has a limit of 255 characters. vnode shorthash is 12 characters with an additional separator character added this adds to the max 255 (#1316) This string is combined with the vnode shorthash to make a key for flow mapper states records for start flow events. The flow mapper state is stored in the state storage which has a limit of 255 characters. vnode shorthash is 12 characters with an additional separator character added this adds to the max 255. --- .../src/main/java/net/corda/rbac/schema/RbacKeys.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbac-schema/src/main/java/net/corda/rbac/schema/RbacKeys.java b/data/rbac-schema/src/main/java/net/corda/rbac/schema/RbacKeys.java index 1215b61a61..30bb1dadac 100644 --- a/data/rbac-schema/src/main/java/net/corda/rbac/schema/RbacKeys.java +++ b/data/rbac-schema/src/main/java/net/corda/rbac/schema/RbacKeys.java @@ -50,7 +50,7 @@ private RbacKeys() { /** * Flow start client request ID. */ - public static final String CLIENT_REQ_REGEX = "[-._A-Za-z0-9]{1,250}"; + public static final String CLIENT_REQ_REGEX = "[-._A-Za-z0-9]{1,242}"; /** * FQN for a flow to be started.