1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00
phorge-phorge/src/infrastructure/cluster
Steve Campbell 101ce834b8 Fix PHP 8.1 strlen() error when database replication Seconds_Behind_Master is NULL
Summary:
When MySQL database replication is configured, but not running, the slave status Seconds_Behind_Master is NULL.
When this value is passed to strlen() an error is thrown.

Fixes T15507

Test Plan:
* Configure database replication such that Seconds_Behind_Master is NULL
* Restart php-fpm
* Go to Phorge web site.

Reviewers: O1 Blessed Committers, chris

Reviewed By: O1 Blessed Committers, chris

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15507

Differential Revision: https://we.phorge.it/D25318
2023-06-30 13:49:32 +01:00
..
config Add infrastructure for sending SMS via AWS SNS 2019-01-23 16:29:50 -08:00
exception Pass all Throwables to Exception Handlers, not just Exceptions 2017-06-20 05:44:51 -07:00
search Show users how fulltext search queries are parsed and executed; don't query stopwords or short tokens 2017-04-12 19:07:54 -07:00
PhabricatorClusterServiceHealthRecord.php Support multiple fulltext search clusters with 'cluster.search' config 2017-03-26 08:16:47 +00:00
PhabricatorDatabaseRef.php Fix PHP 8.1 strlen() error when database replication Seconds_Behind_Master is NULL 2023-06-30 13:49:32 +01:00
PhabricatorDatabaseRefParser.php Remove product literal strings in "pht()", part 24 2022-04-25 16:46:26 -07:00