From 9f3f431b79c198da1fead9a3a2d73e715beae09d Mon Sep 17 00:00:00 2001 From: dfitzmau Date: Fri, 19 Aug 2022 16:26:53 +0100 Subject: [PATCH] ISPN-14082: Document cache naming character limits --- .../asciidoc/topics/ref_infinispan_caches.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/documentation/src/main/asciidoc/topics/ref_infinispan_caches.adoc b/documentation/src/main/asciidoc/topics/ref_infinispan_caches.adoc index da8d4ab72f70..498089e8d3c1 100644 --- a/documentation/src/main/asciidoc/topics/ref_infinispan_caches.adoc +++ b/documentation/src/main/asciidoc/topics/ref_infinispan_caches.adoc @@ -6,6 +6,20 @@ You can create declarative cache configuration in XML, JSON, and YAML format. All declarative caches must conform to the {brandname} schema. Configuration in JSON format must follow the structure of an XML configuration, elements correspond to objects and attributes correspond to fields. +[IMPORTANT] +==== +{brandname} restricts characters to a maximum of `255` for a cache name or a cache template name. +If you exceed this character limit, {brandname} throws an exception. +Write succinct cache names and cache template names. +==== + +[IMPORTANT] +==== +A file system might set a limitation for the length of a file name, so ensure that a cache's name does not exceed this limitation. +If a cache name exceeds a file system's naming limitation, general operations or initialing operations towards that cache might fail. +Write succinct file names. +==== + [discrete] == Distributed caches