Opened 13 years ago
Closed 13 years ago
#602 closed defect (fixed)
CSW reader caching is not cleared when new metadata is inserted (with patch)
Reported by: | jesseeichar | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | v2.6.5 |
Component: | General | Version: | v2.6.3 |
Keywords: | Cc: |
Description
When performing CSW searches it is common to have a stale reader. Here is the scenario.
- Do full CSW search
- Insert metadata
- Do full CSW search again
The first search will cache the reader and then the second search will reuse the cached reader and not see the new metadata.
The fix is simple and I have attached a patch to fix the issue. Obviously the idea is to check if the reader is stale or not before reusing it.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | 602_csw_reader_caching_bug.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This problem also happens when language changes but query is the same. It is a problem now that we do multilingual searches. I have a patch that fixes this issue as well.
Note:
See TracTickets
for help on using tickets.
fixed as of 8536.