From b0d9ea12007021896b71124838daaa1b8b9cbb71 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Thu, 15 Feb 2018 07:32:15 -0800 Subject: [PATCH] Make 408's not result in orphan mitigation Signed-off-by: Doug Davis --- spec.md | 2 +- tools/verify-tables.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec.md b/spec.md index c83be371..672af26f 100644 --- a/spec.md +++ b/spec.md @@ -1430,7 +1430,7 @@ Platforms SHOULD initiate orphan mitigation in the following scenarios: | 201 | Success | No | | 201 with malformed response | Failure | Yes | | All other 2xx | Failure | Yes | -| 408 | Timeout failure | Yes | +| 408 | Client timeout failure (request not received at the server) | No | | All other 4xx | Request rejected | No | | 5xx | Service Broker error | Yes | | Timeout | Failure | Yes | diff --git a/tools/verify-tables.sh b/tools/verify-tables.sh index e3b0f201..afb17d33 100755 --- a/tools/verify-tables.sh +++ b/tools/verify-tables.sh @@ -102,7 +102,7 @@ function checkForPunc() { fi # Anything less than 4 words we ignore - count=$(echo "$col" | wc -w) + count=$(echo "$col" | sed "s/(.*)//g" | wc -w) if (( "$count" < 4 )); then continue fi @@ -111,7 +111,7 @@ function checkForPunc() { continue fi - echo "$file - $1: column $colNum doesn't end with a '. |' or '? |' - watch for extra/missing spaces." + echo "$file - $1: column $colNum has more than 3 words and doesn't end with a '. |' or '? |' - watch for extra/missing spaces." done }