[
https://issues.apache.org/jira/browse/GEODE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hitesh Khamesra closed GEODE-2012.
----------------------------------
> Rolled statistics archive file is corrupted by missing resource type
> --------------------------------------------------------------------
>
> Key: GEODE-2012
> URL: https://issues.apache.org/jira/browse/GEODE-2012
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Affects Versions: 1.0.0-incubating
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Fix For: 1.1.0
>
>
> If a given ResourceType has no Resource instances at the same time that a
> statistics archive file is created by rolling, then the ResourceType is never
> written to the archive file. If a later Resource instance for that type is
> created, the Resource will be written to the archive file without a
> ResourceType, effectively corrupting that file so that it cannot be read.
> Steps required to test this bug:
> 1) create resource instance of new type
> 2) sample so that resource instance and type are written to gfs
> 3) close resource instance so no instances exist of that type
> 4) sample
> 5) roll gfs archive
> 6) sample
> 7) create new resource instance of same type
> 8) sample
> 9) verify that resource instance and type were both written to gfs
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)