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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.10.1.1
    • Component/s: Store
    • Labels:
      None
    • Issue & fix info:
      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.

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

        Issue Links

          Activity

          Kathey Marsden created issue -
          Mamta A. Satoor made changes -
          Field Original Value New Value
          Assignee Mamta A. Satoor [ mamtas ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch1_diff.txt [ 12549257 ]
          Attachment DERBY5232_patch1_stat.txt [ 12549258 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch2_diff.txt [ 12550410 ]
          Attachment DERBY5232_patch2_stat.txt [ 12550411 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-5960 [ DERBY-5960 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch3_diff.txt [ 12550641 ]
          Attachment DERBY5232_patch3_stat.txt [ 12550642 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch4_diff.txt [ 12551026 ]
          Attachment DERBY5232_patch4_stat.txt [ 12551027 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.10.0.0 [ 12321550 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch5_diff.txt [ 12551878 ]
          Attachment DERBY5232_patch5_stat.txt [ 12551879 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch6_diff.txt [ 12552209 ]
          Attachment DERBY5232_patch6_stat.txt [ 12552210 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_patch7_diff.txt [ 12552491 ]
          Attachment DERBY5232_patch7_stat.txt [ 12552492 ]
          Mamta A. Satoor made changes -
          Issue & fix info High Value Fix [ 10422 ] High Value Fix,Release Note Needed [ 10422, 10101 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_test_patch1_diff.txt [ 12552743 ]
          Attachment DERBY5232_test_patch1_stat.txt [ 12552744 ]
          Mamta A. Satoor made changes -
          Attachment DERBY5232_test_patch2_diff.txt [ 12553254 ]
          Attachment DERBY5232_test_patch2_stat.txt [ 12553255 ]
          Mamta A. Satoor made changes -
          Link This issue relates to DERBY-5995 [ DERBY-5995 ]
          Kim Haase made changes -
          Attachment DERBY-5232-kim.diff [ 12553664 ]
          Mamta A. Satoor made changes -
          Link This issue is related to DERBY-5995 [ DERBY-5995 ]
          Mamta A. Satoor made changes -
          Link This issue is related to DERBY-5996 [ DERBY-5996 ]
          Mamta A. Satoor made changes -
          Attachment releaseNote.html [ 12560141 ]
          Mamta A. Satoor made changes -
          Attachment releaseNote.html [ 12560201 ]
          Mamta A. Satoor made changes -
          Attachment releaseNote.html [ 12560722 ]
          Mamta A. Satoor made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow jira [ 12613440 ] Default workflow, editable Closed status [ 12802212 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mamta A. Satoor
              Reporter:
              Kathey Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development