mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-21 12:15:54 +00:00
no duplicates in keys table for postgres
This commit is contained in:
@@ -114,6 +114,8 @@ BackendIndexer::writeKeyFlagLedgerAsync(
|
||||
try
|
||||
{
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(info)
|
||||
<< "writeKeyFlagLedger - checking for complete...";
|
||||
auto page =
|
||||
backend.fetchLedgerPage({}, nextFlag.keyIndex, 1);
|
||||
if (!page.warning)
|
||||
@@ -126,6 +128,8 @@ BackendIndexer::writeKeyFlagLedgerAsync(
|
||||
<< std::to_string(ledgerSequence);
|
||||
return;
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info)
|
||||
<< "writeKeyFlagLedger - is not complete";
|
||||
}
|
||||
indexing_ = nextFlag.keyIndex;
|
||||
auto start = std::chrono::system_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user