From 7b4d12bdb333174d2095ac7d96b82c9591d145c8 Mon Sep 17 00:00:00 2001 From: Leibale Date: Mon, 2 Oct 2023 14:13:35 -0400 Subject: [PATCH] FUNCTION STATS migration guide --- docs/v4-to-v5.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/v4-to-v5.md b/docs/v4-to-v5.md index 4130c65939..897b04bbef 100644 --- a/docs/v4-to-v5.md +++ b/docs/v4-to-v5.md @@ -164,6 +164,7 @@ Some command arguments/replies have changed to align more closely to data types - `CLIENT TRACKINGINFO`: `flags` in RESP2 - `Set` -> `Array` (to match RESP3 default type mapping) - `CLUSETER SETSLOT`: `ClusterSlotStates` -> `CLUSTER_SLOT_STATES` [^enum-to-constants] - `FUNCTION RESTORE`: the second argument is `{ mode: string; }` instead of `string` [^future-proofing] +- `FUNCTION STATS`: `runningScript` -> `running_script`, `durationMs` -> `duration_ms`, `librariesCount` -> `libraries_count`, `functionsCount` -> `functions_count` [^map-keys] - `CLUSTER RESET`: the second argument is `{ mode: string; }` instead of `string` [^future-proofing] - `CLUSTER FAILOVER`: `enum FailoverModes` -> `const FAILOVER_MODES` [^enum-to-constants], the second argument is `{ mode: string; }` instead of `string` [^future-proofing] - `CLUSTER LINKS`: `createTime` -> `create-time`, `sendBufferAllocated` -> `send-buffer-allocated`, `sendBufferUsed` -> `send-buffer-used` [^map-keys]