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 248243 - Remote file system goes into directories it should not
Summary: Remote file system goes into directories it should not
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-29 12:10 UTC by Vladimir Kvashin
Modified: 2015-06-24 02:26 UTC (History)
2 users (show)

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 2014-10-29 12:10:42 UTC
There is a machine somewhere in slc that has about 20000 subdirectories in /home, moreover, these subdirectories are readable.

In such situation, as soon as user tries to open /home, say, in file chooser, IDE tries to schedule refresh for each of them (and then it calls ls() for each changed one). 

This slows things down a lot.
Comment 1 Vladimir Kvashin 2014-10-29 12:12:37 UTC
It seems to be a regression caused by
hg.netbeans.org/cnd-main/rev/c7da0973e09b
Comment 2 Vladimir Kvashin 2014-10-29 15:11:25 UTC
The obvious change (fixing a regression caused by above-mentioned commit) is 
http://hg.netbeans.org/cnd-main/rev/dbd0378323b6

This does not fix the entire problem, however:
due to asking for nbproject subfolder for each of these 20K+ directories (and probably some other reasons as well), IDE and fs_server still surf these home dirs.
Comment 3 Quality Engineering 2014-11-07 03:50:25 UTC
Integrated into 'main-silver', will be available in build *201411070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dbd0378323b6
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #248243 - Remote file system goes into directories it should not
Comment 4 Quality Engineering 2014-11-10 23:22:16 UTC
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/58b047b8ed71
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #248243 - Remote file system goes into directories it should not
(transplanted from dbd0378323b6f9bfb1937e8be2b817a4b0946b00)
Comment 5 Vladimir Kvashin 2015-02-05 09:47:16 UTC
Just a note: it is partially fixed and the fix is already transplanted into releases/release801 a while ago. Further fixing is not safe enough for patch.
Comment 6 Vladimir Kvashin 2015-06-22 19:42:54 UTC
http://hg.netbeans.org/cnd-main/rev/3adf9b14bcb3
Comment 7 Quality Engineering 2015-06-24 02:26:20 UTC
Integrated into 'main-silver', will be available in build *201506240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3adf9b14bcb3
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #248243 - Remote file system goes into directories it should not