HomePhabricator

Avoid closing System.out after All-Users GC in NoteDB migration

Authored by QChris on Jun 14 2020, 9:57 AM.

Description

Avoid closing System.out after All-Users GC in NoteDB migration

By using try-with-resource wrappers around System.out for the garbage
collection of the All-Users repo, System.out got closed when the
wrappers got closed after the garbage collection. Due to the closed
System.out, the final status messages of the migration got swallowed
and did not make it to the screen.

We no longer close the wrappers to keep System.out open.

Bug: Issue 12935
Change-Id: I549a027f4ef7bbd863f08532b849e4c43b3d50e1

Details

Committed
QChrisJun 15 2020, 10:51 PM
Parents
rGERRITDEPLOY8db58c8fc200: Report the index state after re-indexing
Branches
Unknown
Tags
Unknown
ChangeId
I549a027f4ef7bbd863f08532b849e4c43b3d50e1