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)
Fri, Jan 10, 7:00 PM
Unknown Object (File)
Sat, Jan 4, 6:29 PM
Unknown Object (File)
Wed, Jan 1, 5:00 AM
Unknown Object (File)
Tue, Dec 24, 1:56 PM
Unknown Object (File)
Thu, Dec 19, 12:33 AM
Unknown Object (File)
Tue, Dec 17, 9:49 AM
Unknown Object (File)
Dec 13 2024, 11:59 AM
Unknown Object (File)
Dec 13 2024, 2:47 AM
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