[Using caves and cliffs preview data pack] Lag Spike on server when crossing chunk borders near spawn. The further away from the world spawn you go the less it lags. Teleport 5000 blocks away - no lag. When in proximity to the world spawn (5-10) chunks away crossing chunk borders ONLY lags in the direction of the world spawn not the other ones??
Linked issues
Comments

Duplicate ofย MC-166005.

Is it really a duplicate tho? I looked at the other issue and i feel like the lag i describe is more specific to the spawn chunks and only happens on the server instance. I havent had this without the data pack either

It seems like a separate bug to me. In my experience MC-166005 seems to get worse the further you are from (0,0).

The symptoms are exactly those described by MC-162253, namely lag spikes when crossing chunk borders in the direction of worldspawn (or chunks loaded by any other means), together with large height differences near those chunks required to trigger the lighting issue. The boundaries where the lag spikes are observed should be render distance
away from any chunks in the spawn area (that have sufficient height differences to their neighbors).
You can try increasing the render distance and see if the problematic boundaries move further away from the spawn chunks. In that case this would most certainly be a duplicate of MC-162253.

Thank you for your report!
We're tracking this issue in MC-162253, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
I can provide video footage if needed or wanted