Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5232

Put a stern README file in log and seg0 directories to warn users of corrpution they will cause if they touch files there

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.8.1.2
    • 10.10.1.1
    • Store
    • None
    • High Value Fix, Release Note Needed

    Description

      Users often on bad advice or desperation touch or delete files in the log or seg0 directories (mostly log).

      I think it would be good for new databases and on upgrade that a file be created in these directories with a name like:
      TOUCHING_FILES_HERE_WILL_CORRUPT_DB_README.txt

      or some such to warn of the perils of doing this and the corrupting effects and how it can eliminate any possibility of salvage. It should also encourage users to make a zip backup of the database directory with no jvm currently accessing it before trying to do anything with the database if it appears to be already corrupt. Also point to backup/restore documentation and encourage restore of a good backup into an empty directory if the database is corrupt.

      I'm not sure if it would help but it couldn't hurt.

      Attachments

        1. releaseNote.html
          4 kB
          Mamta A. Satoor
        2. releaseNote.html
          4 kB
          Mamta A. Satoor
        3. releaseNote.html
          4 kB
          Mamta A. Satoor
        4. DERBY-5232-kim.diff
          3 kB
          Camilla Haase
        5. DERBY5232_test_patch2_stat.txt
          0.4 kB
          Mamta A. Satoor
        6. DERBY5232_test_patch2_diff.txt
          8 kB
          Mamta A. Satoor
        7. DERBY5232_test_patch1_stat.txt
          0.2 kB
          Mamta A. Satoor
        8. DERBY5232_test_patch1_diff.txt
          6 kB
          Mamta A. Satoor
        9. DERBY5232_patch7_stat.txt
          0.3 kB
          Mamta A. Satoor
        10. DERBY5232_patch7_diff.txt
          9 kB
          Mamta A. Satoor
        11. DERBY5232_patch6_stat.txt
          0.2 kB
          Mamta A. Satoor
        12. DERBY5232_patch6_diff.txt
          5 kB
          Mamta A. Satoor
        13. DERBY5232_patch5_stat.txt
          0.2 kB
          Mamta A. Satoor
        14. DERBY5232_patch5_diff.txt
          3 kB
          Mamta A. Satoor
        15. DERBY5232_patch4_stat.txt
          0.7 kB
          Mamta A. Satoor
        16. DERBY5232_patch4_diff.txt
          15 kB
          Mamta A. Satoor
        17. DERBY5232_patch3_stat.txt
          1 kB
          Mamta A. Satoor
        18. DERBY5232_patch3_diff.txt
          25 kB
          Mamta A. Satoor
        19. DERBY5232_patch2_stat.txt
          0.6 kB
          Mamta A. Satoor
        20. DERBY5232_patch2_diff.txt
          13 kB
          Mamta A. Satoor
        21. DERBY5232_patch1_stat.txt
          0.3 kB
          Mamta A. Satoor
        22. DERBY5232_patch1_diff.txt
          5 kB
          Mamta A. Satoor

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: