Skip to content

Commit

Permalink
CORE-17958 Limit the length of client request ids to 242 characters. …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
LWogan authored Nov 2, 2023
1 parent e6d293a commit 6e43f24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6e43f24

Please sign in to comment.