We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a060c commit c4c3992Copy full SHA for c4c3992
1 file changed
include/ipfixprobe/outputPlugin/outputStorage/ffqOutputStorage.hpp
@@ -69,10 +69,9 @@ class FFQOutputStorage : public OutputStorage {
69
70
bool finished(const std::size_t readerGroupIndex) noexcept override
71
{
72
- return !writersPresent() &&
73
- // m_readRanks[readerGroupIndex].get() % ALLOCATION_BUFFER_CAPACITY
74
- //== m_writeRank.load() % ALLOCATION_BUFFER_CAPACITY;
75
- m_readRanks[readerGroupIndex].get() > m_writeRank.load();
+ return !writersPresent()
+ && m_readRanks[readerGroupIndex].get() % ALLOCATION_BUFFER_CAPACITY
+ == m_writeRank.load() % ALLOCATION_BUFFER_CAPACITY;
76
}
77
78
protected:
0 commit comments