From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 44EE96EC56; Tue, 16 Mar 2021 23:27:18 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 44EE96EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615926438; bh=6UVy95eNmeX/FfgKjyQzQ9Mv8CIWwtDn4TD390d2/7A=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ndpJSwsfdGJhXmcKztjUcBtuLh3p+HGuU8atCiDw/NcsG5HZzkNg+ZTlgDiZsMHGV H8GQiLgpWLESjBKW+3OVVfzhIxUdHUyZV3Hb0SdHaCHoPFjJAfzaMYOypHRDT+QeAy qG38dZeLDF6q3s0DF1TSWxzUrjiSnigH4/IcdxvA= Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 14DC26EC56 for ; Tue, 16 Mar 2021 23:27:17 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 14DC26EC56 Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1lMGHc-0000t4-6f; Tue, 16 Mar 2021 23:27:16 +0300 To: Konstantin Osipov , Serge Petrenko , gorcunov@gmail.com, tarantool-patches@dev.tarantool.org References: <20210224193549.70017-1-sergepetrenko@tarantool.org> <26fde1bf-a972-fe03-fffe-818839718394@tarantool.org> <20210310081804.GA87351@starling> <54666e16-f577-c9f5-e917-f834b7e4b8d5@tarantool.org> <20210316064540.GA39305@starling> Message-ID: Date: Tue, 16 Mar 2021 21:27:14 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210316064540.GA39305@starling> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD96485A7A9FC13189387C0BEA1E3D4462C4B99C4D0C48865C5182A05F5380850402CA328552217D87B5DD3EA62D2F70B734D0C1338FECE03398E694DC954FDB2C5 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7BAE5222749FC9020C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7E44C3BEDBAA266E9EA1F7E6F0F101C67CDEEF6D7F21E0D1D174C73DBBBFC766435260046E1B033F527F4CC771439FDDA1DA29636A2648AEA389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FC569F1129A2C6445075ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4930A3850AC1BE2E735BAAD9279A72BC9ABC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0FECB2555BB02FD5A93B503F486389A921A5CC5B56E945C8DA X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2BBE337FB72E923155C0AF1600DCBC20B5871880B46419F377290BC9F1E458B43 X-C1DE0DAB: 0D63561A33F958A5FBA7560C36F72E687EDD51BF074485B88A6B1F96B3B72B62D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34A5BF8FA0BD61F9943C00D21E1966EA762A6E238776C6F9D7EEFCBC0C48C5A1D56058086812ABD98E1D7E09C32AA3244C77208A4780626D4F6F4AD6AAB784B6731DD47778AE04E04D927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojwV/GgY7Z4vX2MHqGw7O8Rw== X-Mailru-Sender: 689FA8AB762F73936BC43F508A0638225146C482B69F42732CEF4C84BDDE43853841015FED1DE5223CC9A89AB576DD93FB559BB5D741EB963CF37A108A312F5C27E8A8C3839CE0E267EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v3] wal: introduce limits on simultaneous writes X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" > BTW, one option is to change semantics of "async" to be "best > effort async". That is, if the queue is full, we don't drop the > transaction, we turn it into a waiting one. > > Thoughts? If you are talking about internal API (txn_commit_async), Sergey did it in this patch. It is now called txn_commit_try_async and it blocks the fiber if the queue is full. If you are talking about is_async option for box.commit(), then yeah, this is a good idea. One of them. It is not decided yet what options and with which names we will expose in box.commit(). No any design so far. You can left comments here https://github.com/tarantool/tarantool/issues/67 with your proposals so they are not lost.