| Summary: | support optimistic locking with ETags and If-Match in rest server | ||
|---|---|---|---|
| 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: | EAP 5.1.0 EDG TP | CC: | mlinhard, nobody, trustin |
| Target Milestone: | --- | ||
| Target Release: | EAP 5.1.0 EDG TP | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/EDG-77 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-16 09:25:59 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
2011-04-04 16:35:06 UTC
I think this is both a bug and a feature request at the same time.
If {{If-Match}}, {{If-None-Match}}, and other related headers are not supported yet, the server must respond with the {{501 Not Implemented}} status. Therefore, it's a bug in Infinispan's REST implementation if it does not respond correctly. Implementing optimistic locking is another story, and it should be implemented in Infinispan 5.1 since it's a new feature.
Sounds OK?
OK so let this jira be about the bug and adding the proper 501 response. And I'll create a feature request for ISPN 5.1 Link: Added: This issue relates to ISPN-1084 Link: Added: This issue is related to ISPN-1098 Release Notes Text: Added: Infinispan 5.1.0.Alpha1 contains the fix for ISPN-1084 Release Notes Text: Removed: Infinispan 5.1.0.Alpha1 contains the fix for ISPN-1084 |