* [tarantool-patches] [PATCH] Disable triggers for _collation during bootstrap
@ 2018-11-15 15:04 Nikita Pettik
2018-11-19 10:09 ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-19 17:44 ` [tarantool-patches] " Vladimir Davydov
0 siblings, 2 replies; 3+ messages in thread
From: Nikita Pettik @ 2018-11-15 15:04 UTC (permalink / raw)
To: tarantool-patches; +Cc: v.shpilevoy, Nikita Pettik
After patch that introduced "none" collation (a953051),
box.internal.bootstrap() started to fail due to inability to drop
mentioned collation. Lets turn off system triggers for _collation space
in order to process its complete purification during bootstrap.
---
Branch: https://github.com/tarantool/tarantool/tree/np/none-collation-hotfix
src/box/bootstrap.snap | Bin 1911 -> 1911 bytes
src/box/lua/upgrade.lua | 1 +
2 files changed, 1 insertion(+)
diff --git a/src/box/bootstrap.snap b/src/box/bootstrap.snap
index 9287fa223ea6b5b475ffd9ac7b492b031c338d60..b7789d6df20a9cc337449671abfdd186bc2c3501 100644
GIT binary patch
delta 1174
zcmV;H1Zn&C4)+d_9e*)2VqrEoW;rtoNp5p=VQyn(Iv`>>FlA$7WH~KiHe_KfG&W^8
zEn#J1Gc9H`Ibkw5VP#}uWH|~}Lu_wjYdRo%eF_TIx(m9^2K@leMZHH+r2qf`001bp
zFZ}>er8fY&OmGlM&{$0Y0Hq#AsfW$940<7a1XZAnLAJ<mL4RAFns~sFHK?^EG9@)B
zY1bqX@<pCj5{iuy1pMgkuN{lG+T?U*mo8L2$VQ%~lv3{i=K%TuMQARacjqP1%*Yh#
zu!oTt_OFg#8+9Ro_r~OZq1Z{yKbrU2mAMvgAIf^o%lA7R^4r6(t`QkgFW*oEx9c`E
z{{vq|I{dMczJLGs-t~U(Z@qUvna;5rg;L6dgo7C%+gN8-X$9CiN7=@(yhGcoyY%nQ
zZ$r7eN;N=^6fS7=J+RAKv{3-I&e6z{9yWSpxIj_T*PyOVB<{u9I>$+?1~cCuvmLQ@
zj!l%w%U1})N^0vIKL^#qsSsGD<E2hGI60~l&e_p9fq&R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?vd4fLO%+&PSS-r?b9<*
z%X(hRicUjhI-mV~Sq7@Q%+zt`7wqBJhzgnTeaHLtvo6n0j)tI69TIGvWEuO8Jw5Jz
zZ<Hs-)=3VrSb6trqdPFRPI8Q08_kLE%70r-L9lg_tOxTeZ!sZO|9$^`3gdL8Q)fz*
za6Z$i^mQk%1j2Me;qF%$w9pur^HuPuD#zl=QzUgwL~Mp|LS}-{7$CMzvc6EHvi_ht
z%-z%D%2p{6hw_n>l!S%$uyv9!^ZEW))}xJwt&;>$Cne%gJNAnsFKGoGUIxYAM}O4j
zcre^EFN3O4q|r*mbvSf(eYm9bhOLu4!CJLM7zcG?xbQmM0P;RC8od)^`24H&nqtB&
zUJ`N3y8-Rz<E--^StXrBTxY}9N$Tv7A*10+=bQa}yt(-aRZ%D<;%aKpkA|(2{AL7*
o4GobI6B5Hld33<w*`Yfxc3jY$7795mQY%s_QaUkOvz`Rm0-Uxs<NyEw
diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua
index 4b0fd0345..3d9acc976 100644
--- a/src/box/lua/upgrade.lua
+++ b/src/box/lua/upgrade.lua
@@ -70,6 +70,7 @@ local function set_system_triggers(val)
box.space._func:run_triggers(val)
box.space._priv:run_triggers(val)
box.space._trigger:run_triggers(val)
+ box.space._collation:run_triggers(val)
end
--------------------------------------------------------------------------------
--
2.15.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tarantool-patches] Re: [PATCH] Disable triggers for _collation during bootstrap
2018-11-15 15:04 [tarantool-patches] [PATCH] Disable triggers for _collation during bootstrap Nikita Pettik
@ 2018-11-19 10:09 ` Vladislav Shpilevoy
2018-11-19 17:44 ` [tarantool-patches] " Vladimir Davydov
1 sibling, 0 replies; 3+ messages in thread
From: Vladislav Shpilevoy @ 2018-11-19 10:09 UTC (permalink / raw)
To: Nikita Pettik, tarantool-patches
Hi! Thanks for the patch! LGTM.
On 15/11/2018 18:04, Nikita Pettik wrote:
> After patch that introduced "none" collation (a953051),
> box.internal.bootstrap() started to fail due to inability to drop
> mentioned collation. Lets turn off system triggers for _collation space
> in order to process its complete purification during bootstrap.
> ---
> Branch: https://github.com/tarantool/tarantool/tree/np/none-collation-hotfix
>
> src/box/bootstrap.snap | Bin 1911 -> 1911 bytes
> src/box/lua/upgrade.lua | 1 +
> 2 files changed, 1 insertion(+)
>
> diff --git a/src/box/lua/upgrade.lua b/src/box/lua/upgrade.lua
> index 4b0fd0345..3d9acc976 100644
> --- a/src/box/lua/upgrade.lua
> +++ b/src/box/lua/upgrade.lua
> @@ -70,6 +70,7 @@ local function set_system_triggers(val)
> box.space._func:run_triggers(val)
> box.space._priv:run_triggers(val)
> box.space._trigger:run_triggers(val)
> + box.space._collation:run_triggers(val)
> end
>
> --------------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [tarantool-patches] [PATCH] Disable triggers for _collation during bootstrap
2018-11-15 15:04 [tarantool-patches] [PATCH] Disable triggers for _collation during bootstrap Nikita Pettik
2018-11-19 10:09 ` [tarantool-patches] " Vladislav Shpilevoy
@ 2018-11-19 17:44 ` Vladimir Davydov
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Davydov @ 2018-11-19 17:44 UTC (permalink / raw)
To: Nikita Pettik; +Cc: tarantool-patches, v.shpilevoy
Pushed to 2.1.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-19 17:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 15:04 [tarantool-patches] [PATCH] Disable triggers for _collation during bootstrap Nikita Pettik
2018-11-19 10:09 ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-19 17:44 ` [tarantool-patches] " Vladimir Davydov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox