Skip to content

Commit

Permalink
Docs: fix docs
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 committed Nov 26, 2024
1 parent 1949b2b commit f7be85e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/groups/mqb/mqbs/mqbs_filestore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6893,13 +6893,13 @@ void FileStore::clearPrimary()

void FileStore::flushStorage()
{
// 'LocalQueue::flush' invokes 'dispaterFlush'.
// This means that 'dispaterFlush' will be executed more frequently on a
// 'LocalQueue::flush' invokes 'flushStorage'.
// This means that 'flushStorage' will be executed more frequently on a
// FileStore than actually applicable. This is ok and has no side effect.

// Note that 'RemoteQueue::dispaterFlush' will not invoke
// 'FileStore::dispaterFlush' because only the partition's primary node
// should invoke 'dispaterFlush' on the FileStore.
// Note that 'RemoteQueue::flush' will not invoke
// 'FileStore::flushStorage' because only the partition's primary node
// should invoke 'flushStorage' on the FileStore.

BSLS_ASSERT_SAFE(d_isPrimary);

Expand Down

0 comments on commit f7be85e

Please sign in to comment.