From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 9 Dec 2018 00:45:25 +0300 From: Konstantin Osipov Subject: Re: [PATCH v2 07/10] Introduce checkpoint schedule module Message-ID: <20181208214525.GI2217@chai> References: <10b6f097fbeb46c0d66bb35efc49b411dc7573de.1544282224.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10b6f097fbeb46c0d66bb35efc49b411dc7573de.1544282224.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/12/09 00:15]: > This is a very simple module that incorporates the logic for calculating > the time of the next scheduled checkpoint given the configured interval > between checkpoints. It doesn't have any dependencies, which allows to > cover it with a unit test. It will be used by the checkpoint daemon once > we rewrite it in C. Rationale: in future we might want to introduce more > complex rules for scheduling checkpoints (cron-like may be) and it will > be really nice to have this logic neatly separated and tested. OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov