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
Unknown Object (File)
Mon, Dec 9, 10:54 AM
Unknown Object (File)
Sun, Dec 8, 3:47 AM
Unknown Object (File)
Mon, Nov 25, 2:07 PM
Unknown Object (File)
Wed, Nov 20, 10:36 PM
Unknown Object (File)
Nov 17 2024, 11:15 AM
Unknown Object (File)
Nov 10 2024, 4:08 PM
Unknown Object (File)
Oct 15 2024, 12:04 PM
Unknown Object (File)
Oct 13 2024, 10:49 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.