Comments (6)
The search should be conducted based on the latest value of the status field, but it continues to retrieve objects with older status values, leading to inconsistency in the retrieved data.
you need to define readMode = MASTER
setting in Redisson configuration.
from redisson.
Hi @mrniko Thanks for your reply, I believe default readmode would be a MASTER, anyway i tried with updating readMode to MASTER, but still issue exists.
from redisson.
Please set trace
logging level for org.redisson
and share the log output
from redisson.
@mrniko Thanks..! I understand your request for trace logging level output for org.redisson. However, due to the sensitive nature of the information contained within the logs—particularly regarding connection host-related entries—I am unable to share the entire log file.
In lieu of sharing the complete logs, I would like to highlight specific observations we have made during our debugging process.
LiveObjectSearch.class
if (cond instanceof EQCondition) {
EQCondition eqc = (EQCondition)cond;
indexName = namingScheme.getIndexName(entityClass, eqc.getName());
if (eqc.getValue() instanceof Number) {
values = new RedissonScoredSortedSet(namingScheme.getCodec(), this.commandExecutor, indexName, (RedissonClient)null);
eqNumericNames.put(values, (Number)eqc.getValue());
} **else {
RSetMultimap<Object, Object> map = new RedissonSetMultimap(namingScheme.getCodec(), this.commandExecutor, indexName);
RSet<Object> values = map.get(eqc.getValue());
eqNames.add(((RedissonObject)values).getRawName());
}**
}
in org.redisson.liveobject.LiveObjectSearch.class Within this segment of else block(line 61), the instantiation of the 'map' object using the RedissonSetMultimap constructor indicates the retrieval of a set multimap indexed under a specific 'indexName'. Subsequently, the 'values' variable, representing the retrieved set, undergoes further processing.
However, it has come to my attention that the 'values' set contains entries encompassing older keys, some of which may have already expired. Additionally, the presence of keys associated with object values marked with a status of 'completed' is notable, particularly in scenarios where the queried 'eqc.getValue()' evaluates to 'processing'.
This discrepancy raises concerns regarding the integrity of the data retrieval process and suggests potential inconsistencies within the system's behavior.
I appreciate your understanding of this limitation and your willingness to collaborate in resolving this matter effectively. Please let me know if there are specific log excerpts or details you require, and I will do my utmost to provide them promptly.
from redisson.
Can you share some code snippet to reproduce the issue? Including RLiveObjectService.find() method
from redisson.
However, it has come to my attention that the 'values' set contains entries encompassing older keys, some of which may have already expired
you need to define Redis notify-keyspace-events
setting contains the letters Kx
.
from redisson.
Related Issues (20)
- How to use QueryOptions of RSearch, no example to show how to fill options.params HOT 2
- 从3.17.0升级到3.28.0后,所有缓存的对象序列化都失败了 HOT 4
- Is there any way to pipeline the RPermitExpirableSemaphore.release() command?
- redission Unable to send command HOT 7
- Inconsistent Behavior of fastRemove with Uninitialized Local Caches
- When high concurrent requests may cause connection leak HOT 6
- The redis three-master and three-slave clusters often perform active/standby switchover. As a result, the redisson client may report an error (MOVED), which affects services HOT 1
- Connection RST causes "Command execution timeout for command: (CLUSTER NODES)" HOT 1
- When I use new CompositeCodec(StringCodec.INSTANCE, new TypedJsonJacksonCodec(Member.class));how can the RMap get value be correctly converted to a Java object?
- redisson connection cannot be restored HOT 5
- Encoded user/password in URL should be accepted HOT 1
- Password is printed to log when failing to authenticate as plaintext. Why isn't it being masked? HOT 3
- Connection Leak issue. HOT 9
- A key has been successfully added to Redis, yet the tryLock() method returned false. HOT 1
- How to configure retries and retry intervals for sentinel
- Fair Lock attempt to compare nil with number #2
- "Unable to connect" message after Connection created HOT 1
- RedisException in while acquiring semaphore HOT 1
- RDestroyable objects should also be AutoCloseable HOT 1
- NPEs Showing in Redisson Tomcat Logs
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 redisson.