| Summary: | incorrect flush_all expiration time interpretation | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 5 | Reporter: | Michal Linhard <mlinhard> |
| Component: | Infinispan | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | nobody |
| Target Milestone: | --- | ||
| Target Release: | EAP 5.1.0 EDG TP | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/EDG-74 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-01 14:44:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Michal Linhard
2010-11-22 16:25:57 UTC
Hmm, reading https://github.com/memcached/memcached/blob/master/doc/protocol.txt it's unclear whether it should be treated exactly in the same way as the storage commands. It simply refers to it as a delay in seconds: "The intent of flush_all with a delay, was that in a setting where you have a pool of memcached servers, and you need to flush all content, you have the option of not resetting all memcached servers at the same time (which could e.g. cause a spike in database load with all clients suddenly needing to recreate content that would otherwise have been found in the memcached daemon). The delay option allows you to have them reset in e.g. 10 second intervals (by passing 0 to the first, 10 to the second, 20 to the third, etc. etc.)." Did you do any testing against original Memcached that made you think that it should be treated in the same way as storage commands? As a FYI, in storage commands, I'm treating negative expiration times as 0, no expiration. yes original memcached treats it this way. What made me think all expiration times in all commands should be treated this way is the way which "Expiration times" section of the protocol is formulated: " Some commands involve a client sending some kind of expiration time ..." referring possibly to any command that contains "some kind of expiration time". Link: Added: This issue depends ISPN-810 |