diff options
author | Teravus Ovares | 2008-08-19 07:04:47 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-08-19 07:04:47 +0000 |
commit | b4355e456405ee7ac1e20bb6e29f3ad351b708a3 (patch) | |
tree | d3860c183e2a2a59a1a4bff87b70d4966ba314c5 | |
parent | Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs. (diff) | |
download | opensim-SC_OLD-b4355e456405ee7ac1e20bb6e29f3ad351b708a3.zip opensim-SC_OLD-b4355e456405ee7ac1e20bb6e29f3ad351b708a3.tar.gz opensim-SC_OLD-b4355e456405ee7ac1e20bb6e29f3ad351b708a3.tar.bz2 opensim-SC_OLD-b4355e456405ee7ac1e20bb6e29f3ad351b708a3.tar.xz |
* This reverts a change where m_regions[RegionHandle] was replaced instead of removed in LocalBackEndServices It used to be like the change above a long long time ago but we found that it caused intermittent neighbor connectivity issues. I added comments above it so that it's looked at more closely next time.
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index 7501967..c0e6722 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs | |||
@@ -102,8 +102,13 @@ namespace OpenSim.Region.Communications.Local | |||
102 | else | 102 | else |
103 | { | 103 | { |
104 | // Already in our list, so the region went dead and restarted. | 104 | // Already in our list, so the region went dead and restarted. |
105 | // replace the old regioninfo | 105 | // don't replace the old regioninfo.. this might be a locking issue.. however we need to |
106 | m_regions[regionInfo.RegionHandle] = regionInfo; | 106 | // remove it and let it add normally below or we get extremely strange and intermittant |
107 | // connectivity errors. | ||
108 | // Don't change this line below to 'm_regions[regionInfo.RegionHandle] = regionInfo' unless you | ||
109 | // *REALLY* know what you are doing here. | ||
110 | m_regions.Remove(regionInfo.RegionHandle); | ||
111 | |||
107 | m_log.Warn("[INTERREGION STANDALONE]: Region registered twice. Region went down and came back up."); | 112 | m_log.Warn("[INTERREGION STANDALONE]: Region registered twice. Region went down and came back up."); |
108 | 113 | ||
109 | RegionCommsListener regionHost = new RegionCommsListener(); | 114 | RegionCommsListener regionHost = new RegionCommsListener(); |