fastogt / fastonosql

FastoNoSQL is a crossplatform Redis, Memcached, SSDB, LevelDB, RocksDB, UnQLite, LMDB, ForestDB, Pika, Dynomite, KeyDB GUI management tool.
https://fastonosql.com
GNU General Public License v3.0
1.18k stars 96 forks source link

It can not load content of a database. #69

Closed Gold-pig closed 5 years ago

Gold-pig commented 5 years ago

I have a database nearly 4GB and I can not load the key for every database. When I run DBKCOUNT , it shows 10:55:14.602: DBKCOUNT function error: Invalid argument: mergeoperator must be set.

topilski commented 5 years ago

Hi @PhotographerGuo , thank you for the issue need to implement MergeOperator option in connection state. may be you can find here which one are you using https://github.com/facebook/rocksdb/wiki/Merge-Operator

topilski commented 5 years ago

I think, this issue fixed.

Gold-pig commented 5 years ago

Hi,

Sorry for delay of reply.

I build a new and try it, then it shows the same problem:

17:52:02.453: SCAN function error: Invalid argument: mergeoperator must be set.

Best Regards, Fengyang Guo

在 2018年11月22日,下午5:02,Alexandr Topilski notifications@github.com 写道:

I think, this issue fixed.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441071997, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdBwlFWYgXLk_Vj3nNq3hNvecMKVWks5uxsp7gaJpZM4YqwUB.

topilski commented 5 years ago

Did you try new merge operator?

Gold-pig commented 5 years ago

Yes, nearly but I have not tried all merge operator. It quitting immediately when I open. I think I should re install it...

Gold-pig commented 5 years ago

I have installed again and it keeps quitting...

topilski commented 5 years ago

Which version you using? also please cat your ~/fasonosql.log file , i need to see errors

Gold-pig commented 5 years ago

OX 10.12 . Where is this log file, I have not found..

topilski commented 5 years ago

Please start console, and execute cat ~/fastonosql.log, version of application?

Gold-pig commented 5 years ago

17:31:04.927 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:51:53.724 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:52:02.453 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:54:39.159 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:54:48.423 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:54:56.455 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:57:02.890 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set. 17:57:10.675 FastoNoSQL PRO [ERROR] SCAN function error: Invalid argument: mergeoperator must be set.

It shows that, but it not mentioned the quitting problem.

在 2018年11月22日,下午6:26,Alexandr Topilski notifications@github.com 写道:

cat ~/fastonosql.log

topilski commented 5 years ago

application version?

Gold-pig commented 5 years ago

1.22.3

Best Regards, Fengyang Guo

在 2018年11月22日,下午6:29,Alexandr Topilski notifications@github.com 写道:

application version?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441090879, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdKiEVe9u3uIQ43d5DySxdrql29n4ks5uxt7ogaJpZM4YqwUB.

topilski commented 5 years ago

Application closed when you trying to connect to RocksDB?

Gold-pig commented 5 years ago

It can not be opened now. When I click it, it shows one second and quit. Best Regards, Fengyang Guo

在 2018年11月22日,下午6:32,Alexandr Topilski notifications@github.com 写道:

Application closed when you trying to connect to RocksDB?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441091514, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdNvrWcwHyvCiW0I72S5xjjsbyPxJks5uxt-8gaJpZM4YqwUB.

topilski commented 5 years ago

Ok, remove config file ~/.config/FastoNoSQL/config* and try to create new connection.

Gold-pig commented 5 years ago

You mean this : config_new_pro.ini ? Best Regards, Fengyang Guo

在 2018年11月22日,下午6:35,Alexandr Topilski notifications@github.com 写道:

Ok, remove config file ~/FastoNoSQL/config*

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441091931, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdHHaRhOKRxadjsi_pucRlmRiSsoNks5uxuBGgaJpZM4YqwUB.

topilski commented 5 years ago

Yes

Gold-pig commented 5 years ago

It works now. What is the problem?

I have tried merge operator stringappendiota, it shows: 18:42:34.712: SCAN function error: Invalid argument: mergeoperator must be set.

I have tried Best Regards, Fengyang Guo

在 2018年11月22日,下午6:37,Alexandr Topilski notifications@github.com 写道:

Yes

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441092422, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdFHnecY5tciIlTTTUffcAShZegWoks5uxuDwgaJpZM4YqwUB.

topilski commented 5 years ago

Can you also cahnge in settings "default" database name to database whith you wanna to work.

Gold-pig commented 5 years ago

Where is the setting? I have not found “setting” in software.

Best Regards, Fengyang Guo

在 2018年11月22日,下午6:47,Alexandr Topilski notifications@github.com 写道:

Can you also cahnge in settings "default" database name to database whith you wanna to work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fastogt/fastonosql/issues/69#issuecomment-441093911, or mute the thread https://github.com/notifications/unsubscribe-auth/AZRDdFDJpzfwCDAtlVzs3cyeBFkRdFjuks5uxuMcgaJpZM4YqwUB.

topilski commented 5 years ago

Oy, sorry this functionality not implemented for RocksDB and LevelDB

topilski commented 5 years ago

Now, implemented, i opened your database on Linux without problems.

topilski commented 5 years ago

ping