1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Using javadoc style for doc comments

This commit is contained in:
Teemu Ollakka
2018-06-16 15:23:14 +03:00
parent 47cb8e604c
commit ad0617c660
11 changed files with 180 additions and 181 deletions

View File

@ -34,8 +34,8 @@ int wsrep::client_context::before_command()
assert(state_ == s_idle);
if (server_context_.rollback_mode() == wsrep::server_context::rm_sync)
{
/*!
* \todo Wait until the possible synchronous rollback
/**
* @todo Wait until the possible synchronous rollback
* has been finished.
*/
while (transaction_.state() == wsrep::transaction_context::s_aborting)
@ -134,8 +134,8 @@ int wsrep::client_context::before_statement()
wsrep::unique_lock<wsrep::mutex> lock(mutex_);
debug_log_state("before_statement: enter");
#if 0
/*!
* \todo It might be beneficial to implement timed wait for
/**
* @todo It might be beneficial to implement timed wait for
* server synced state.
*/
if (allow_dirty_reads_ == false &&
@ -163,8 +163,8 @@ wsrep::client_context::after_statement()
debug_log_state("after_statement: enter");
assert(state() == s_exec);
#if 0
/*!
* \todo Check for replay state, do rollback if requested.
/**
* @todo Check for replay state, do rollback if requested.
*/
#endif // 0
(void)transaction_.after_statement();

View File

@ -96,7 +96,7 @@ int wsrep::transaction_context::start_replaying(const wsrep::ws_meta& ws_meta)
int wsrep::transaction_context::append_key(const wsrep::key& key)
{
/*! \todo Collect table level keys for SR commit */
/** @todo Collect table level keys for SR commit */
return provider_.append_key(ws_handle_, key);
}

View File

@ -59,7 +59,7 @@ namespace
case wsrep::key::shared: return WSREP_KEY_SHARED;
case wsrep::key::semi_shared: return WSREP_KEY_SEMI;
case wsrep::key::semi_exclusive:
/*! \todo Implement semi exclusive in API */
/** @todo Implement semi exclusive in API */
assert(0);
return WSREP_KEY_EXCLUSIVE;
case wsrep::key::exclusive: return WSREP_KEY_EXCLUSIVE;