WorldEdit

WorldEdit

43M Downloads

Block lag on worldedited blocks long after the worldedit.

LadyCailinBot opened this issue ยท 7 comments

commented

WORLDEDIT-3337 - Reported by Noble

Hello I have found a very weird issue with worldedit. I have found when i break and place a block where i have made a mid-sized worldedit it will block lag for anyone near it even long after the worldedit was made. It only happens to certain worldedits typically bigger ones though. Not sure what this means at all.
Im running (6.1.1-SNAPSHOT;3392-1dd6faf7) worldedit.
and Spigot-6c9b0a1-de5c261 (MC: 1.8.8)
But i have noticed this issue for awhile on other builds of spigot and worldedit. For testing i removed all block tracking plugins, then removed worldedit and worldgaurd, then broke and placed blocks on where a decent sized worldedit was made and found the block lag still happens, which worries me even more. You will much better understand it from this video of the issue. https://www.youtube.com/watch?v=OpsL44gpI9U&feature=youtu.be

commented

Comment by wizjany

seems to be a framerate spike more than latency going by the video, kind of weird.
dunno if this is reproducible at all though. did it only start happening recently?

commented

Comment by Noble

I would say within the last month I started noticing it. It seems to be very easy to reproduce. I can do further testing if you'd like on it.

commented

Comment by Noble

Since the issue keeps on after removing worldedit and worldgaurd is it too soon to say it has damaged the chunks affected? Region-Fixer didn't detect any corrupt chunks.

commented

Comment by wizjany

generally if the chunk is damaged, it will fail to load and crash your server. i honestly have no idea what it could be right now.

commented

Comment by wizjany

i am unable to reproduce this at all. especially odd that it persists even after removing worldedit, which leads me to believe it's more of a client issue than anything.

commented

Comment by Noble

I have found the larger the worldedit the worse it is. When doing /cyl grass 50 then breaking a block and placing one it locks me up for about 10 seconds (confirmed it is FPS lag and it happens to any player near me or if they do it same result), it seems the //cyl and //sphere commands cause this more then others, oddly it is much worse when you do it in the middle of the worldedit which makes absolutely no sense. I have tried many different version clients and optifine as well. I have also tried many versions of spigot and found the issue still kept on. i have removed all plugins for this further testing. I did however find that earlier worldedit builds (such as 3370) do not cause this issue. So it must mean the latest worldedit has somehow caused some damage to my maps, im trying to contact the makers of Region Fixer to have them look into it to see what on earth is causing this and if i can save my current maps from the damage. Hopefully it can be fixed.

EDIT: I just retested and found I was able to do so on version 3370 too. Im asking any other server owners if they have the same issue too before i go too far.

EDIT: Tested on a friends server on a spigot 1.8.7 build with worldedit build 3370 and the issue was NOT present. Unknown reason. Same host too.

commented

Comment by Noble

I have also found when you place a block above a lag inducing one then break the laggy block it will not lag for some reason. Not sure why.