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
F18221003: D18947.id.diff
Tue, Aug 19, 5:10 PM
F18214602: D18947.id45446.diff
Tue, Aug 19, 5:39 AM
F18205978: D18947.diff
Mon, Aug 18, 3:19 PM
F17711926: D18947.diff
Jul 17 2025, 9:19 AM
Unknown Object (File)
Jul 2 2025, 12:56 AM
Unknown Object (File)
Jun 20 2025, 4:30 PM
Unknown Object (File)
May 27 2025, 1:34 AM
Unknown Object (File)
May 19 2025, 6:20 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.