response)) {
return;
}
long startTxId = ServletUtil.parseLongParam(request, START_TXID_PARAM);
FileJournalManager fjm = journal.getJournalManager();
LOG.info("getJournalManifest request: journalId " + journalId
+ ", start txid: " + startTxId + ", storage: "
+ storage.toColonSeparatedString());
String output = JSON.toString(new ArrayList<String>());
synchronized (journal) {
// Synchronize on the journal so that the files do not change
// get all log segments
List<EditLogFile> logFiles = fjm.getLogFiles(startTxId, false);
List<String> manifest = new ArrayList<String>();
for (EditLogFile elf : logFiles) {
manifest.add(elf.toColonSeparatedString());
}
output = JSON.toString(manifest);