HomePhorge

Don't waste too much cache by a single changeset

Description

Don't waste too much cache by a single changeset

Summary:
We have max_allowed_packet 1 GiB but our replication dies if the query is longer than unknown value (it dies with 293 MB long query).

Anyway, there's no reason why we should not save the cache if you have small max_allowed_packet.

Test Plan: Lowered $size to 100, deleted cache from DB, displayed changeset, verified issued queries in DarkConsole, verified DB.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3390

Details

Provenance
vranaAuthored on Aug 27 2012, 1:08 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP5f3dc3b7aecf: Make storage.mysql-engine.max-size independent on max_allowed_packet
Branches
Unknown
Tags
Unknown

Event Timeline