chore: Remove Schedule() call (#2938)

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-04-21 11:32:44 +03:00 committed by GitHub
parent 322b2e7ac1
commit 9b9c32c91d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 2 additions and 42 deletions

View file

@ -441,8 +441,6 @@ void SearchFamily::FtCreate(CmdArgList args, ConnectionContext* cntx) {
if (auto err = parser.Error(); err)
return cntx->SendError(err->MakeReply());
cntx->transaction->Schedule();
// Check if index already exists
atomic_uint exists_cnt = 0;
cntx->transaction->Execute(