Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2012

Rolled statistics archive file is corrupted by missing resource type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-incubating
    • 1.1.0
    • statistics
    • None

    Description

      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

      Attachments

        Activity

          People

            klund Kirk Lund
            klund Kirk Lund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: