Upgraded an existing gemfire cluster seeing warnings -- Disk store test-disk-store contains unrecovered data for the following regions:
search cancel

Upgraded an existing gemfire cluster seeing warnings -- Disk store test-disk-store contains unrecovered data for the following regions:

book

Article ID: 408849

calendar_today

Updated On:

Products

VMware Tanzu Data Suite Pivotal GemFire VMware Tanzu Gemfire VMware Tanzu Greenplum / Gemfire

Issue/Introduction

You might notice the warnings after an upgrade gemfire.

You might also notice regions listed in the warning which are already defined in the cluster config cache.xml

[warn 2025/08/26 15:21:29.504 EDT host01 <checkDiskStore1> tid=0x56] Disk store test-disk-store contains unrecovered data for the following regions: [/region01, /region02, /region03, /region04]. These uncreated regions will consume memory and should either be created or removed from the disk store using gfsh command 'alter disk-store'.

Environment

All Gemfire versions.

Cause

The regions already defined in the cache.xml appear in the warning message because if any one of the regions for the disk store is missing, the system lists all the regions mapped to that disk store in the warning.

Resolution

There are multiple options to resolve these warnings.

1.] Follow the recommendation in the warning and destroy/remove the region's data from the diskstore. use alter disk-store command.

 

2.] CAUTION: All regions will lose data, so use this method only if you have a backup for the regions you are actively using that are mapped to this disk store"

 Destroy the Diskstore example-disk-store.     refer for details

 

3.] Temporarily define the missing regions in cache.xml

Note - Export will only take care of active regions data as per cache.xml

3a.] Export the data from Gemfire and put into the storage refer for details

3b.] Destroy the Diskstore example-disk-store.    refer for details

3c.] Import the data. refer for details 

 

4.] Temporarily create regions in the cache.xml and then destroy the regions. Refer for details