Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78699 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64923 invoked from network); 5 Nov 2014 01:54:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 01:54:50 -0000 Authentication-Results: pb1.pair.com header.from=php@requinix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@requinix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain requinix.net designates 209.85.192.169 as permitted sender) X-PHP-List-Original-Sender: php@requinix.net X-Host-Fingerprint: 209.85.192.169 mail-pd0-f169.google.com Received: from [209.85.192.169] ([209.85.192.169:43095] helo=mail-pd0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/12-54119-86389545 for ; Tue, 04 Nov 2014 20:54:49 -0500 Received: by mail-pd0-f169.google.com with SMTP id y10so14807196pdj.14 for ; Tue, 04 Nov 2014 17:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=requinix.net; s=googleapps; h=mime-version:date:message-id:subject:from:to:content-type; bh=6MbH7487YKZ2YdvQKhfGIxdY7B+ObIj/U6RgafwN7zM=; b=TTClc9Gv1wltpRIym7IPqhlC3G7Szdf5yeEQ85OSqQNsNQh5L2gVlkmSbXVAnnDtXR WGvljQJMH22sc67ItwfG3q097PgpMc463FAZ75q79HnH3RgcuHE4XB5+GPvAIgDKKKKz a9BkyauFtKa+7vOWggeWt444MwxWUVbTRMjwc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=6MbH7487YKZ2YdvQKhfGIxdY7B+ObIj/U6RgafwN7zM=; b=aJrN7cbpD2NGR4HEj4xzm/rKoSWFYje+am/dFqvP3Ot6Ar1YTMDUJZRiPKOiq45UE+ qBgF+00yFVVbEaHgw8s3MECMcsd9IHVj9Era8j7g/RcltiWV5dVCHHHQn48QiXt/a5Xf TF9vvjjUGSmO/icT5VV4j43yLrkxfZ1YxUHv4jkcwYW748jVdu7exXJwcdHz7wTAd7bC GHowzRJsbKxPYhzNlRcAW1Hiw7zne3g1R1bhKo2UfbVRNjE2wMhXYZF03g/W2iGc2Vsj G4EziLRYBKVwmsFHNkKqp7bNyD0AxJwNUU68564lToY0EdkFqp5TV6XC1YCeYo7Z/+X4 zZgg== X-Gm-Message-State: ALoCoQkxsbyjXRNZ2PcyCLnG7admZI79xwaYy2ks1SNK6a72tf2FFhL0xuzXxJU2pVl7MqBJQoAr MIME-Version: 1.0 X-Received: by 10.70.4.164 with SMTP id l4mr12511740pdl.137.1415152485887; Tue, 04 Nov 2014 17:54:45 -0800 (PST) Received: by 10.70.33.66 with HTTP; Tue, 4 Nov 2014 17:54:45 -0800 (PST) X-Originating-IP: [38.140.26.42] Date: Tue, 4 Nov 2014 17:54:45 -0800 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Lazy writing in the session, session-lock-ini, and bug #68331 From: php@requinix.net (Damian Wadley) https://bugs.php.net/bug.php?id=68331 I was hoping the submitter (or one of their coworkers who commented on it) would reach out to the list themselves to get more information since I don't know the whole situation. I did ask them to... Story thus far: Yasuo's session-lock-ini RFC [1] in February 2014 was (partially) approved - the relevant change being that it adds support for lazy writing. Optionally. There's a pull request with it that has NOT been merged; as far as I can tell it's because there was discussion after the vote raising problems and there was another RFC [2] (since withdrawn) to change the first one. I also vaguely remember there being merge problems between 5.6 and something? Unrelated and prior to all this was a commit [3] in August 2013 for request #17860 [4] that made session writes lazy for everyone. [see session.c] Not optionally. It went into 5.6. Apparently this caused problems for some people as they made 68331 a few days ago. I'm not entirely sure that the userland code couldn't be changed to deal with the lazy writing without requiring the crazy workaround they described, but whatever I don't know their codebase. I tried explaining that session-lock-ini is not yet merged, despite being approved and being listed under the PHP 5.6 heading at /rfc, and that the commit in question was entirely separate, to no avail. Meanwhile I did NAB the bug on the grounds that the change was intentional. So what's up with the RFC and its code? Is it still happening for 5.6 (too late?) or 5.7 (I lost track if we're doing that) or 7? Any suggestions for what I can tell the folks concerned? -Damian [1] https://wiki.php.net/rfc/session-lock-ini [2] https://wiki.php.net/rfc/session-read_only-lazy_write [3] https://github.com/php/php-src/commit/554021d21e1b2517313a377676260c188152c2eb [4] https://bugs.php.net/bug.php?id=17860