)]}'
{
  "commit": "89b2d7e790b4b68720b1983bedf0c7a6b9b56e5b",
  "tree": "9e8bfd9201359ca15e9b99886dda4d9b639625ce",
  "parents": [
    "bc1df37307544c6ef4b89ec0ec5f63261c888e99"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Sep 10 17:07:41 2026 +0200"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Mon Sep 14 11:11:06 2026 +0200"
  },
  "message": "Protect reftable readers during stale reload\n\nWhen an externally updated `tables.list` causes `addReftable()` to fail,\nthe system triggers a stack reload. Previously, this reload occurred\nbefore obtaining the cached-reader lock.\n\nThis lock inversion was unsafe. The reload operation could close a table\nthat was concurrently being read by a ref lookup, which resulted in a\n`ClosedChannelException`.\n\nFix this by acquiring the cached-reader lock before reloading the stack.\nThis ensures that tables remain open and safe to access while concurrent\nthreads are actively reading them.\n\nThis is similar to fix [1] and it applies the same guard to the stale\nreload from addReftable().\n\nHold the reader lock across the add, stale reload, and cache clear so\nreload cannot close a table until the concurrent readers finish.\n\n[1] https://eclipse.gerrithub.io/c/eclipse-jgit/jgit/+/1216979\n\nBug: Issue 460019541\nChange-Id: I9d210becf5b5665deecfdcf5a87c6a8c26198d07\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5756b4144236cf56ef35c3308a994ab85293a69e",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableTest.java",
      "new_id": "e5d82d155877b47ad3bab9cfef71b796a41051e6",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableTest.java"
    },
    {
      "type": "modify",
      "old_id": "c46a17b5b1f5aa34552d50caf8c9ba2f58a49063",
      "old_mode": 33188,
      "old_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableDatabase.java",
      "new_id": "17241e070791e34fd05b416e687241847d064199",
      "new_mode": 33188,
      "new_path": "org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileReftableDatabase.java"
    }
  ]
}
