From 5a5a4cd76e147fbdb97fa5abba6e7fb64d14e251 Mon Sep 17 00:00:00 2001 From: Shwetha Rao Date: Fri, 21 Nov 2025 17:53:38 +0530 Subject: [PATCH 1/4] Updated cbstats warmup content --- modules/cli/pages/cbstats/cbstats-warmup.adoc | 51 ++++++++----------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/modules/cli/pages/cbstats/cbstats-warmup.adoc b/modules/cli/pages/cbstats/cbstats-warmup.adoc index 229f9a664b..92e16e7675 100644 --- a/modules/cli/pages/cbstats/cbstats-warmup.adoc +++ b/modules/cli/pages/cbstats/cbstats-warmup.adoc @@ -10,7 +10,7 @@ The basic syntax is: ---- -cbstats [host]:[dataport] -b [bucket_name] -p [bucket_password] raw warmup +cbstats [host]:[dataport] -b [bucket_name] -p [bucket_password] warmup ---- == Description @@ -47,21 +47,21 @@ Look for values: loading keys, loading access log, and done. | Number of failures due to duplicate keys. | Integer +| ep_warmup_estimate_time +| The time taken to discover the estimated number of keys that may be warmed up. +| Integer. + | ep_warmup_estimated_key_count | The estimated number of keys in database. | Integer. Default: unknown -| ep_warmup_estimate_time -| Thne estimated time in microseconds to do warmup. -| Integer. - | ep_warmup_estimated_value_count | The estimated number of key data to read based on the access log. | Integer. Default: unknown -| ep_warmup_keys_count +| ep_warmup_key_count | Number of keys warmed up. | Integer @@ -69,14 +69,6 @@ Default: unknown | Total time (in microseconds) spent by loading persisted keys. | Integer -| ep_warmup_min_items_threshold -| Enable data traffic after loading this percentage of key data. -| Integer - -| ep_warmup_min_memory_threshold -| Enable data traffic after filling this % of memory. -| Integer (%) - | ep_warmup_oom | Number of out of memory failures during warmup. | Integer @@ -119,7 +111,10 @@ The following are the command options: *Request* ---- -cbstats 10.5.2.117:11210 warmup +cbstats localhost:11210 warmup \ +-u Administrator \ +-p password \ +-b travel-sample ---- *Response* @@ -127,18 +122,16 @@ cbstats 10.5.2.117:11210 warmup Example response: ---- - ep_warmup: enabled - ep_warmup_dups: 0 - ep_warmup_estimate_time: 57546 - ep_warmup_estimated_key_count: 0 - ep_warmup_estimated_value_count: unknown - ep_warmup_key_count: 0 - ep_warmup_keys_time: 529022 - ep_warmup_min_items_threshold: 100 - ep_warmup_min_memory_threshold: 100 - ep_warmup_oom: 0 - ep_warmup_state: done - ep_warmup_thread: complete - ep_warmup_time: 529192 - ep_warmup_value_count: 0 +ep_warmup: enabled +ep_warmup_dups: 0 +ep_warmup_estimate_time: 8159 +ep_warmup_estimated_key_count: 63325 +ep_warmup_estimated_value_count: unknown +ep_warmup_key_count: 63325 +ep_warmup_keys_time: 199582 +ep_warmup_oom: 0 +ep_warmup_state: done +ep_warmup_thread: complete +ep_warmup_time: 199586 +ep_warmup_value_count: 63325 ---- From df0821247b12f9ccb50a1fb1305c0ee0948dc349 Mon Sep 17 00:00:00 2001 From: Shwetha Rao Date: Fri, 21 Nov 2025 17:56:22 +0530 Subject: [PATCH 2/4] added docs preview yml file --- preview/DOC_13324_preview.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 preview/DOC_13324_preview.yml diff --git a/preview/DOC_13324_preview.yml b/preview/DOC_13324_preview.yml new file mode 100644 index 0000000000..543dcb4a31 --- /dev/null +++ b/preview/DOC_13324_preview.yml @@ -0,0 +1,28 @@ +sources: + docs-server: + branches: DOC_13324_cbstats_warmup_correction + docs-analytics: + branches: release/8.0 + docs-devex: + url: https://github.com/couchbaselabs/docs-devex.git + branches: master + startPaths: docs/ + couchbase-cli: + # url: ../../docs-includes/couchbase-cli + url: https://github.com/couchbaselabs/couchbase-cli-doc + # branches: HEAD + branches: master + startPaths: docs/ + backup: + # url: ../../docs-includes/backup + url: https://github.com/couchbaselabs/backup-docs.git + #branches: HEAD + branches: master + startPaths: docs/ + #analytics: + # url: ../../docs-includes/docs-analytics + # branches: HEAD + #cb-swagger: + # url: https://github.com/couchbaselabs/cb-swagger + # branches: release/8.0 + # start_path: docs \ No newline at end of file From 768c969daec9dea9f387abf26a12a484a485fd6d Mon Sep 17 00:00:00 2001 From: rao-shwe Date: Fri, 21 Nov 2025 18:20:51 +0530 Subject: [PATCH 3/4] Mentioned ep_warmup_estimate_time unit in ms --- modules/cli/pages/cbstats/cbstats-warmup.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cli/pages/cbstats/cbstats-warmup.adoc b/modules/cli/pages/cbstats/cbstats-warmup.adoc index 92e16e7675..3260deb04f 100644 --- a/modules/cli/pages/cbstats/cbstats-warmup.adoc +++ b/modules/cli/pages/cbstats/cbstats-warmup.adoc @@ -48,7 +48,7 @@ Look for values: loading keys, loading access log, and done. | Integer | ep_warmup_estimate_time -| The time taken to discover the estimated number of keys that may be warmed up. +| The time taken, measured in milliseconds, to discover the estimated number of keys that may be warmed up. | Integer. | ep_warmup_estimated_key_count From 4d97c59b10b33ddf464fc0281dd0033538439ea9 Mon Sep 17 00:00:00 2001 From: Shwetha Rao Date: Fri, 21 Nov 2025 19:20:57 +0530 Subject: [PATCH 4/4] Removed the doc preview file --- preview/DOC_13324_preview.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 preview/DOC_13324_preview.yml diff --git a/preview/DOC_13324_preview.yml b/preview/DOC_13324_preview.yml deleted file mode 100644 index 543dcb4a31..0000000000 --- a/preview/DOC_13324_preview.yml +++ /dev/null @@ -1,28 +0,0 @@ -sources: - docs-server: - branches: DOC_13324_cbstats_warmup_correction - docs-analytics: - branches: release/8.0 - docs-devex: - url: https://github.com/couchbaselabs/docs-devex.git - branches: master - startPaths: docs/ - couchbase-cli: - # url: ../../docs-includes/couchbase-cli - url: https://github.com/couchbaselabs/couchbase-cli-doc - # branches: HEAD - branches: master - startPaths: docs/ - backup: - # url: ../../docs-includes/backup - url: https://github.com/couchbaselabs/backup-docs.git - #branches: HEAD - branches: master - startPaths: docs/ - #analytics: - # url: ../../docs-includes/docs-analytics - # branches: HEAD - #cb-swagger: - # url: https://github.com/couchbaselabs/cb-swagger - # branches: release/8.0 - # start_path: docs \ No newline at end of file