Page MenuHomePhabricator

Exception: Cursor "11972" does not identify a valid object in query "DiffusionCommitQuery".
Closed, ResolvedPublic

Description

The Phabricator VM was restarted while there was an on-going import of a Subversion repository.

We have an init script that automatically starts the daemons but I noticed that the daemons are not running and throwed errors like the screenshot below.

pasted_file (574×1 px, 176 KB)

I have manually restarted the daemons and now the import was finished but we still encounter this exception below.

pasted_file (86×737 px, 9 KB)

Please help. Thanks!

Event Timeline

Hi! How can we reproduce this behavior?

We can't move forward on bugs we can't reproduce, since we have no way to figure out what's wrong or if we've fixed the issue. See Contributing Bug Reports.

See previous discussion in T10341.

The problem was encountered when we have deleted the existing repository with audits because we wanted to include not just the trunk but all its branches. The thing was that the deleted repository in Diffusion was not the first one to be imported again.

The exception went away when the repository that was deleted has finished its import with all its branches.

Thank you for providing the previous bug report.

epriestley claimed this task.

bin/remove destroy gives you a huge scary red skull-and-crossbones ASCII art for good reason, and you're accepting that issues like this may occur when you confirm the prompt.

It sounds like this has been resolved.