From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3CEA826794 for ; Fri, 22 Jun 2018 17:43:59 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TBkfBHxy8tbI for ; Fri, 22 Jun 2018 17:43:59 -0400 (EDT) Received: from smtp36.i.mail.ru (smtp36.i.mail.ru [94.100.177.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7683021076 for ; Fri, 22 Jun 2018 17:43:58 -0400 (EDT) From: AKhatskevich Subject: [tarantool-patches] [PATCH 0/3][vshard] Small patches Date: Sat, 23 Jun 2018 00:43:32 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org, v.shpilevoy@tarantool.org Branch: https://github.com/tarantool/vshard/tree/kh/small_patches-1 Issues: * https://github.com/tarantool/vshard/issues/121 * https://github.com/tarantool/vshard/issues/52 * https://github.com/tarantool/vshard/issues/47 AKhatskevich (3): #47: Do not force login/pass in URI #52: Allow use existing user #121: Introduce destroy module feature Note: #52 and #121 are bounded: 1. #52 is tested in #121, because destroy module makes it mutch easier 2. #121 needs #52, because #121 doesn't delete user, and user exists when the vshard is loading back Note: those patches come together, because they are very small. test/lua_libs/util.lua | 34 +++++++++++ test/router/destroy.result | 108 ++++++++++++++++++++++++++++++++++ test/router/destroy.test.lua | 39 +++++++++++++ test/storage/destroy.result | 132 ++++++++++++++++++++++++++++++++++++++++++ test/storage/destroy.test.lua | 51 ++++++++++++++++ test/unit/config.result | 14 +++++ test/unit/config.test.lua | 6 ++ vshard/cfg.lua | 7 +-- vshard/router/init.lua | 22 +++++++ vshard/storage/init.lua | 82 ++++++++++++++++++++------ 10 files changed, 473 insertions(+), 22 deletions(-) create mode 100644 test/router/destroy.result create mode 100644 test/router/destroy.test.lua create mode 100644 test/storage/destroy.result create mode 100644 test/storage/destroy.test.lua -- 2.14.1