Tarantool development patches archive
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: tml <tarantool-patches@dev.tarantool.org>
Cc: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: [Tarantool-patches] [PATCH] iproto: stringify IPROTO_CONFIRM, IPROTO_ROLLBACK
Date: Thu, 23 Jul 2020 15:57:58 +0300	[thread overview]
Message-ID: <20200723125758.203276-1-gorcunov@gmail.com> (raw)

Fixes #5199

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 branch gorcunov/gh-5199-xlog-syncro

 src/box/iproto_constants.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h
index 6b850f101..4f5a2b195 100644
--- a/src/box/iproto_constants.h
+++ b/src/box/iproto_constants.h
@@ -276,6 +276,10 @@ iproto_type_name(uint32_t type)
 		return iproto_type_strs[type];
 
 	switch (type) {
+	case IPROTO_CONFIRM:
+		return "CONFIRM";
+	case IPROTO_ROLLBACK:
+		return "ROLLBACK";
 	case VY_INDEX_RUN_INFO:
 		return "RUNINFO";
 	case VY_INDEX_PAGE_INFO:
-- 
2.26.2

             reply	other threads:[~2020-07-23 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-23 12:57 Cyrill Gorcunov [this message]
2020-07-24  8:32 ` Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200723125758.203276-1-gorcunov@gmail.com \
    --to=gorcunov@gmail.com \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH] iproto: stringify IPROTO_CONFIRM, IPROTO_ROLLBACK' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox