Page MenuHomePhabricator

Write edge transactions in a more compact way
ClosedPublic

Authored by epriestley on Jan 27 2018, 1:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 2, 12:56 AM
Unknown Object (File)
Fri, Jun 20, 4:30 PM
Unknown Object (File)
May 27 2025, 1:34 AM
Unknown Object (File)
May 19 2025, 6:20 PM
Unknown Object (File)
May 18 2025, 6:06 PM
Unknown Object (File)
May 18 2025, 3:35 PM
Unknown Object (File)
Apr 21 2025, 5:54 AM
Unknown Object (File)
Apr 16 2025, 6:51 AM
Subscribers
None

Details

Summary

Depends on D18946. Ref T13051. Begins writing edge transactions as just a list of changed PHIDs.

Test Plan

Added, edited, and removed projects. Reviewed transaction record and database. Saw no user-facing changes but a far more compact database representation.

Diff Detail

Repository
rP Phabricator
Branch
edge2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19247
Build 26010: Run Core Tests
Build 26009: arc lint + arc unit

Event Timeline

  • Remove literal debugging code.
amckinley added inline comments.
src/infrastructure/edges/util/PhabricatorEdgeChangeRecord.php
80

"this is"

86

Oh, I thought we still needed to keep this as a list inside of a map?

This revision is now accepted and ready to land.Jan 29 2018, 7:24 PM

Oh, I thought we still needed to keep this as a list inside of a map?

The change ended up a lot simpler than I thought at first, so I just went with a plain list.

  • Fix missing word in comment.
This revision was automatically updated to reflect the committed changes.