{
  "slug": "disjunctive-lease",
  "term": "Disjunctive lease",
  "aliases": [
    "Disjunctive leases",
    "Boolean black-box lease"
  ],
  "definition": "A disjunctive lease separates permission to modify a client's Boolean contribution from permission to read a protected logical OR of other clients' contributions.",
  "note": "FARSITE uses this mechanism for open-handle and access-mode metadata. Separate SelfWrite and OtherRead permissions protect the local contribution and the aggregate. An OtherRead grant requires either a different client fixed at true or every other client fixed at false; a client is fixed while it lacks SelfWrite. [black-box]\n\nA currently true but writable contribution is not a stable witness. For each other client Y, granting SelfWrite to X requires either Y to lack OtherRead or a third client fixed at true. Y cannot shield its own aggregate, which excludes Y. [black-box]\n\nThe OSDI 2006 common-file experiment had one client create the file, then 12 clients repeatedly try a shared-read/exclusive-write open and fall back to shared-read, with 100 iterations per repeating client. It reported 1,237 mode-field grants and 1,203 recalls for the shared-value control, versus 13 grants and one recall with disjunctive leases. These are workload-specific lease-event counts, not throughput ratios or a modern SMB guarantee. [directory]\n\nAn independently executable Boolean example contrasts a fixed witness, a mutable witness, self-exclusion and releasing the sole witness. Exhaustive small-state checks compare the permission rules with every permitted future Boolean assignment. This verifies the stated abstraction, not FARSITE's protocol implementation. [example]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The 2005 report describes a mechanism without an implementation evaluation; the 2006 directory prototype had not integrated Byzantine fault tolerance.",
      "citationIds": [
        "black-box",
        "directory"
      ]
    },
    {
      "text": "A mode lease does not itself confer a content-write lease, and not holding permission to read an aggregate does not mean its value is false.",
      "citationIds": [
        "directory"
      ]
    }
  ],
  "related": [
    "farsite"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-05",
  "provenance": [
    "Primary report sections 4.5-4.9 and OSDI 2006 sections 5.2, 6, 7.1, 8.2.4 and 8.3.4 reviewed on 2026-12-05.",
    "Hesela's example is deterministic Boolean reasoning; no distributed system, timings or failure recovery were reproduced."
  ],
  "citations": [
    {
      "id": "black-box",
      "title": "Douceur and Howell. Black Box Leases. MSR-TR-2005-120, 20 September 2005, sections 4.5-4.9.",
      "url": "https://www.microsoft.com/en-us/research/wp-content/uploads/2005/09/tr-2005-120.pdf",
      "accessed": "2026-12-05"
    },
    {
      "id": "directory",
      "title": "Douceur and Howell. Distributed Directory Service in the Farsite File System. OSDI 2006, sections 5.2, 6, 7.1, 8.2.4 and 8.3.4.",
      "url": "https://www.usenix.org/legacy/event/osdi06/tech/full_papers/douceur/douceur_html/",
      "accessed": "2026-12-05"
    },
    {
      "id": "example",
      "title": "Hesela. Disjunctive leases: a stable witness is not a current observation.",
      "url": "https://hesela.dev/research/disjunctive-leases/README.md",
      "accessed": "2026-12-05"
    }
  ]
}
