-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to expand keys appropriately. #47
Comments
Hi @rquadling, now FastoNoSQL have only (combobox)namespace separator when user create connection, can you describe in more detail how use can input complex namespace separator? |
Also if TTL expired, key will removed from tree, but folders can exists. |
The cache hasn't expired in my testing. That's part of what I'm using Fastonosql for. To see what is happening in the cache. The error that is generated in the logs tells me something is wrong. I do not know what it is wrong. Our application is operating well with the cache. Our code (PHP based and using DoctrineCache) says we are getting our data from the cache. Our code only supplies part of the key. The remainder is provided/wrapped by the caching code we use. |
I will try to reproduce your case, thank you! |
If we had the capability of defining multiple separators, then I could add This would then cause the tree to look like
And then removing |
I fixed this warnings, it was my mistake. About separators, how user can specify this separators in settings, in your case you have 2 pair of separators( |
I would have a string list that they can add entries to, as well as a character removal/clean option. So. Maybe a UI like ...
And document that splitting takes place before removal. So, for me the
This would mean that the DoctrineCache key of |
Thank you for description, i will think about your solution. In current moment you can select separator which not containing in your keys, and working like with common keys. |
If you find that there are a LOT of standardised structures, then maybe having a checkbox of supported splits/cleans. So, maybe ...
|
Fixed, and new release uploaded, in namespace combobox you can write separators which you want, in your case it will be |
ping |
I'll get back to you next week - on a different development for a couple of days. |
Hi. Keys expanding correctly now. I'm using But when I try to get the value for any of those keys ... Logs:
Commands:
So. Progress!! But still not usable. |
Hi, thank you for feedback, will continue working on it. |
Also can you please check if key |
I've just loaded about 5 more pages which will cache their data. I am getting very peculiar responses visually in Fastonosql. I'm now only getting folders. No keys. Also, a key with a 4 hour TTL is not being presented correctly at all.
The Using I wonder if the split is resulting in zero length strings when it gets to |
What is interesting is that SOMETIMES when I load database, I get a key and then it all reverts to folders and no keys. |
I've taken a look at the data using ...
and got ...
So this is telling me that there is data. I know the first one will be around for about 4 hours, so is an easy enough test. The others have a ttl of about a minute, but I can easily modify that. But memdump is showing me data (though the larger data is compressed). |
This happens because keys have time to live. in FastoNoSQL if key was removed but have folders, folders will not cleaned. |
Hi.
My log says ...
My command history is ...
I'm using DoctrineCache, so the format of [xxxx][n] is their's. I only supply the xxxx part.
The UI shows ...
What's missing is the expansion of the remainder of the keys.
It would be nice to be able to extend the key splitting with known key generators.
DoctrineCache's structure is
%s[%s][%d]
, where the 3 parts are namespace (optional), key (user supplied and if multi part can have any sort of separation, and version (a number).I'm guessing other systems generate keys in a different way. Maybe having a UI in Fastonosql that allows multiple splitters as well as ignore string sequences.
So,
:
and][
are splitters, but[
and]
are ignored. Hmm. Obviously doing the split then ignore works for this pattern. May not work for all though.Happy to help in any way I can on this.
The text was updated successfully, but these errors were encountered: