Closed yixinglu closed 4 years ago
is it possible to put the init() cleanup() functions as a seperate .go file. So they are more easier to maintain:
( that is,
stmt := fmt.Sprintf("USE %s; UPDATE CONFIGS storage:wal_ttl=3600; UPDATE CONFIGS storage:rocksdb_column_family_options = { disable_auto_compactions = true };", p.space)
I think they (init() cleanup()) will be changed frequently between different Nebula versions.
Thanks the suggestion of @whitewum
In these two options, you can define some commands for initializing and cleanup