mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Detect node store batch write failures (RIPD-270):
* Raise open file limit from the soft max to the hard max.
This commit is contained in:
@@ -172,7 +172,10 @@ public:
|
||||
|
||||
hyperleveldb::WriteOptions const options;
|
||||
|
||||
m_db->Write (options, &wb).ok ();
|
||||
auto ret = m_db->Write (options, &wb);
|
||||
|
||||
if (!ret.ok ())
|
||||
throw std::runtime_error ("storeBatch failed: " + ret.ToString());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user