Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-7563

h2 database locking mechanism changed to FS from SOCKET

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 3.0.0-m2, 2.11, 3.0.0-m3
    • Component/s: Database
    • Labels:
      None
    • Sprint:
      Sprint 27, Sprint 28

      Description

      https://github.com/sonatype/nexus-pro/pull/423
      http://www.h2database.com/html/advanced.html#file_locking_protocols

      Nexus uses H2 databases for NuGet and User Token storage. Nexus uses SOCKET locks to protect the database. The default lock encouraged by H2 now is FS type locks.

      We expect that FS type locks will be more reliable for our ITs because random ports do not get opened we cannot control. FS also has several other advantages.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  tigCommentSecurity.panel-title