Page MenuHomePhabricator

Log and continue when trying to destroy edges with no edge definition
ClosedPublic

Authored by epriestley on Jun 23 2016, 12:16 PM.
Tags
None
Referenced Files
F14058364: D16171.diff
Sun, Nov 17, 11:15 AM
F14037460: D16171.id38901.diff
Sun, Nov 10, 4:08 PM
F13962742: D16171.id.diff
Oct 15 2024, 12:04 PM
Unknown Object (File)
Oct 13 2024, 10:49 PM
Unknown Object (File)
Aug 31 2024, 4:28 AM
Unknown Object (File)
Aug 31 2024, 12:43 AM
Unknown Object (File)
Aug 14 2024, 2:31 AM
Unknown Object (File)
Aug 6 2024, 5:43 PM
Subscribers
None

Details

Summary

Fixes T11201.

Test Plan

Created bogus edges like this:

INSERT INTO edge (src, type, dst, dateCreated, seq) values ('PHID-TASK-vnddativbialb5p6ymis', 999999, 'quack', UNIX_TIMESTAMP(), 1);

Then ran bin/remove destroy on the relevant object.

Before the patch, destruction halted after hittin the bad edge.

After the patch, a warning is emitted but destruction continues.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Log and continue when trying to destroy edges with no edge definition.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 23 2016, 1:45 PM
This revision was automatically updated to reflect the committed changes.