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, Apr 8, 7:18 AM
Unknown Object (File)
Feb 5 2024, 1:19 AM
Unknown Object (File)
Feb 1 2024, 10:48 PM
Unknown Object (File)
Jan 26 2024, 1:20 AM
Unknown Object (File)
Jan 5 2024, 10:57 PM
Unknown Object (File)
Dec 24 2023, 12:14 PM
Unknown Object (File)
Dec 21 2023, 12:26 PM
Unknown Object (File)
Dec 13 2023, 4:22 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.