Summary: | [ftp][regression] FTPService does improper caching | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> | ||||
Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
Severity: | major | ||||||
Priority: | P1 | Flags: | mober.at+eclipse:
review?
(javier.montalvoorus) |
||||
Version: | 2.0 | ||||||
Target Milestone: | 2.0.1 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Bug Depends on: | 195830 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Martin Oberhuber
2007-08-02 05:43:45 EDT
Created attachment 75209 [details] Patch to fix FTP statcache issues There were even more issues with the caching: * Only internalGetFiles() was cached, but not the getFile() queries so the cache was actually useless * case sensitivity was not properly considered, see also bug 198645 * symbolic link file vs. folder treatment was not considered in getFile() All these issues should be fixed with attached patch. Please review and commit. Fix committed, Javier please review: [198638][198645] Fix FTP caching and case sensitivity issues FTPService.java The statcache must also be cleared on all operations that modify the remote: Committed change [198638] Clear ftp statCache on all operations that modify the remote FTPService.java |