mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
add more logging
This commit is contained in:
@@ -273,6 +273,8 @@ flatMapReadObjectCallback(CassFuture* fut, void* cbData)
|
||||
else
|
||||
{
|
||||
auto finish = [&requestParams]() {
|
||||
BOOST_LOG_TRIVIAL(trace)
|
||||
<< "flatMapReadObjectCallback - finished a read";
|
||||
size_t batchSize = requestParams.batchSize;
|
||||
if (++(requestParams.numFinished) == batchSize)
|
||||
requestParams.cv.notify_all();
|
||||
|
||||
@@ -996,6 +996,7 @@ public:
|
||||
std::uint32_t seq,
|
||||
std::uint32_t limit) const
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(debug) << "Starting doUpperBound";
|
||||
CassStatement* statement = cass_prepared_bind(upperBound_);
|
||||
cass_statement_set_consistency(statement, CASS_CONSISTENCY_QUORUM);
|
||||
int64_t markerVal = marker ? marker.value() : INT64_MIN;
|
||||
@@ -1058,6 +1059,7 @@ public:
|
||||
cass_statement_free(statement);
|
||||
cass_future_free(fut);
|
||||
|
||||
BOOST_LOG_TRIVIAL(debug) << "doUpperBound - got keys";
|
||||
std::vector<ripple::uint256> keys;
|
||||
|
||||
CassIterator* iter = cass_iterator_from_result(res);
|
||||
@@ -1081,6 +1083,8 @@ public:
|
||||
}
|
||||
keys.push_back(ripple::uint256::fromVoid(outData));
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(debug)
|
||||
<< "doUpperBound - populated keys. num keys = " << keys.size();
|
||||
if (keys.size())
|
||||
{
|
||||
std::vector<LedgerObject> results;
|
||||
|
||||
Reference in New Issue
Block a user