This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258294 - Refreshing directory with a links causes multiple refreshes
Summary: Refreshing directory with a links causes multiple refreshes
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 17:55 UTC by Vladimir Kvashin
Modified: 2016-04-18 14:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2016-03-09 17:55:35 UTC
Consider a directory with several links, as the one listed below.

drwxrwxr-x  2 vk vk 4.0K Mar  9 20:09 ./
drwxrwxr-x 28 vk vk 4.0K Mar  9 19:24 ../
lrwxrwxrwx  1 vk vk    9 Mar  9 19:24 t1.txt -> ../t1.txt
lrwxrwxrwx  1 vk vk    9 Mar  9 19:24 t2.txt -> ../t2.txt
lrwxrwxrwx  1 vk vk   12 Mar  9 20:09 tip.patch -> ../tip.patch
lrwxrwxrwx  1 vk vk    8 Mar  9 20:09 t.txt -> ../t.txt

Call to refresh() for this directory leads to 5 calls to this directory ls
(fs_server or sftp).

Mozilla build contains a directory with hundreds or even thousands links. This makes refresh last for ages.
Comment 1 Vladimir Kvashin 2016-03-09 18:07:07 UTC
This can be related to issue 257890 and issue 258196
Comment 3 Quality Engineering 2016-03-11 02:12:20 UTC
Integrated into 'main-silver', will be available in build *201603110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/82116e894c36
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: test for #258294 - Refreshing directory with a links causes multiple refreshes
Comment 4 Quality Engineering 2016-03-13 02:19:14 UTC
Integrated into 'main-silver', will be available in build *201603130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/39d36f573784
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: i18n  (#258294 - Refreshing directory with a links causes multiple refreshes)
Comment 5 Vladimir Kvashin 2016-04-15 16:59:54 UTC
verified in builds on enum server