This API is currently marked TODO. We need it to maintain bounded disk space usage on the JournalNode storage.
Attached patch implements purgeEditLogs() by RPCing to the JNs. It's asynchronous (i.e we don't wait for a quorum), but that's OK because this is just a cleanup method. If it fails, we'll purge those entries next time.
+1, the patch looks good to me.
Committed to branch, thanks for the review.