Page MenuHomePhabricator

Skip Conduit call log writes in read-only mode, allowing "conduit.ping" to run
ClosedPublic

Authored by epriestley on Jul 18 2017, 3:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 1:20 AM
Unknown Object (File)
Thu, Nov 21, 9:44 AM
Unknown Object (File)
Mon, Nov 18, 11:30 PM
Unknown Object (File)
Fri, Nov 15, 6:35 AM
Unknown Object (File)
Tue, Nov 12, 5:23 AM
Unknown Object (File)
Mon, Nov 11, 10:19 AM
Unknown Object (File)
Sun, Nov 10, 7:26 PM
Unknown Object (File)
Fri, Nov 8, 10:42 PM
Subscribers
None

Details

Summary

Ref T10769. See PHI8. We have an unconditional logging write which we can skip in read-only mode.

Test Plan
  • Put Phabricator in read-only mode with cluster.read-only.
  • Called conduit.ping via web UI.
    • Before: write-on-read-only exception.
    • After: good result.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable