Comments (8)
I will fix this issue.
And then provide a new release version.
Thanks.
from jredisbloom.
@joyang1 Delete not working for me still, I wrote test case for checking delete and it failed.
-
public void testDelete() {
-
cl.createFilter("myBloomDelete", 100, 0.001);
-
assertTrue(cl.add("myBloomDelete", "val1"));
-
assertTrue(cl.exists("myBloomDelete", "val1"));
-
cl.delete("myBloomDelete");
-
assertFalse(cl.exists("myBloomDelete", "val1"));
}
}
This is the output I get
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertFalse(Assert.java:39)
at junit.framework.Assert.assertFalse(Assert.java:47)
at junit.framework.TestCase.assertFalse(TestCase.java:219)
at io.rebloom.client.ClientTest.testDelete(ClientTest.java:146)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
from jredisbloom.
hi, I have test delete method of Client.
It's OK.
you can use createFilter to test that you whether delete successfully.
If you did not delete, this will create failed, then will create successfully.
from jredisbloom.
I have the same problem, any ideas?
from jredisbloom.
maybe there is something wrong with the method "client.delete", I changed it like this:
/**
* Remove the filter
* @param name
*/
public void delete(String name) {
// _conn().getClient().del(name);
try (Jedis conn = _conn()) {
conn.del(name);
}
}
and it worked, perhaps I will see it why later
from jredisbloom.
Fixed the issue here: https://github.com/Nitesh7/JReBloom?organization=Nitesh7&organization=Nitesh7
from jredisbloom.
this issue is already solved. You can use 1.2.0 version.
from jredisbloom.
this issue is already solved. You can use 1.2.0 version.
Thanks @joyang1
from jredisbloom.
Related Issues (20)
- what is the version of jedis ? HOT 20
- please implements Client.createFilter() method NONSCALING param ! HOT 2
- please implements Client.bfinfo() method! HOT 3
- Issue: connect pool HOT 1
- There is no cuckoo filter interface? HOT 1
- Issue with createFilter HOT 3
- use JedisCluster to read RedisBloomFIiter HOT 4
- java.lang.NoClassDefFoundError: redis/clients/jedis/util/Pool HOT 1
- Support for T-Digest data structure
- 什么时候支持下这些 HOT 1
- why add 3, return boolean[] length is 4 ??? HOT 2
- No option to check if a particular key exists or not. HOT 5
- please speed adapter jedis 4.0, but current version is jedis3.7 !!! HOT 1
- run cfScanDump method result :WRONGTYPE Operation against a key holding the wrong kind of value HOT 1
- please implement bloom scandump method ! HOT 2
- cuckoo filter in cluster mode HOT 1
- return type bug HOT 2
- cuckoofilter ERR unknown command `CF.RESERVE`
- redis password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jredisbloom.