Juan Ramos created GEODE-7442:
---------------------------------
Summary: IllegalStateException: Attempting to use localMaxMemory
for off-heap but value is not yet known
Key: GEODE-7442
URL: https://issues.apache.org/jira/browse/GEODE-7442
Project: Geode
Issue Type: Bug
Components: configuration, regions
Reporter: Juan Ramos
The fix for GEODE-7162 introduced an internal regression: the
{{CacheXmlGenerator}} might throw an exception whenever we use it to generate a
{{cache.xml}} using a declarative approach with a partitioned region configured
with {{off-heap}} and no {{local-max-memory}}.
The issue is that we're overriding
({{partitionAttributes.setOffHeap(offHeap)}}) the {{off-heap}} value after
cloning and merging the original partition attributes, causing a problem when
using a declarative approach as we can't automatically detect the default
{{local-max-memory}} if the member has not been started yet (not JVM to query).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)