Skip to content

5.4 DEV build 1678 RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@AuroraLS3 AuroraLS3 released this 26 May 07:18
· 1240 commits to master since this release

5.4 DEV build 1678 RC2

More bugfixes to build 1661. This is a release candidate.

Changes from dev build 1661

  • Fixed user_id reference error on MariaDB (Error codes for not null constraint were different and thus not detected correctly)
  • Fixed user_id reference error related to ServerShutdownPreservation
  • Fixed parsing error related to server shutdown preservation csv file
  • Fixed typo in RemoveDanglingServerDataPatch that caused it to fail
  • Fixed 2 crashes when database write latency is high
    • Fixed thread starvation crash during high latency when using ViaVersion or ProtocolSupport
    • Reduced chance of out of memory crash when database during high latency by starting to drop plugin data transactions for a while if queue grows over 500 transactions. (The transactions continue if queue returns to <50)
  • Fixed issue where Plan would prevent server enable from continuing if database was not responsive during enable.
  • Fixed Cookies not getting removed from database in some cases when expired.

Change log

Frontend BETA

  • Implemented player ping graph on the player page when opted into frontend beta
  • Fixed nickname list not showing colors properly
  • Fixed terminal icon not loading when user registered with console
  • Fallback to using relative address if Alternative_IP is misconfigured to reduce confusion. Previously nothing would load if address was different, now there's a chance something loads.

Database

Join address schema change

  • Join addresses are now stored in plan_join_address table and id referencing that is added to plan_sessions table for time based analysis implementation later.
    • Backwards compatible schema change - old versions will insert 'unknown' as each sessions address.
    • plan_user_info.join_address column was not removed, but its use is discouraged for 3rd parties as its use may be removed in the future.

Fixed 2 crashes when database write latency is high

  • Fixed thread starvation crash during high latency when using ViaVersion or ProtocolSupport
  • Reduced chance of out of memory crash when database during high latency by starting to drop plugin data transactions for a while if queue grows over 500 transactions. (The transactions continue if queue returns to <50)

Fixes to patches

  • Fixed UserInfoOptimizationPatch resetting join_address data when applied
  • Fixed typo in RemoveDanglingServerDataPatch that caused it to fail
  • Possibly improved speed of RemoveDanglingUserDataPatch

Other fixes to database

  • Fixed issue where Plan would prevent server enable from continuing if database was not responsive during enable.
  • Prevented transactions from executing if database ran into fatal error. This reduces amount of errors logged on a failed patch
  • Fixed error related to user_id constraint violation for Ping and Session store transactions. If they execute faster than the user register transaction the player will not have up-to-date information until the proper transaction executes, but the storage of other data will no longer fail.
  • Prevented ActiveCookieStore related DbOpException if plugin failed to enable

Other bugfixes

  • Console will now log colors properly on Bukkit and Bungee based servers
  • Fixed some _raw placeholders from being formatted
  • Fixed Error related to GriefDefender Extension