Sort buffer error - never in logs before a few months ago

"ERROR","ajp-nio-127.0.0.1-8009-exec-4","07/01/2021","16:20:35","controller","Out of sort memory, consider increasing server sort buffer size;Out of sort memory, consider increasing server sort buffer size;lucee.runtime.exp.CustomTypeException: Out of sort memory, consider increasing server sort buffer size

Seems odd to me that Lucee would love this error in
/WEB-INF/lucee-server/context/logs/application.log file

Odd because I’ve never seen a MySQL error logged by Lucee until a few months ago. Also, this is on a tiny CF site with only a few MB of data and the MySQL sort buffer is set to 1G (an unholy amount).

Is this actually a Java error?

Stack:
Ubuntu 20.04 LTS
JDK 16.01
Tomcat 9.0.41
Lucee 5.3.8.189
MySQL 8.0.25-0ubuntu0.20.04.1

What MySQL version are you using? Is it possible that you version is affected by this bug?

I believe you are correct. it’s version 8.0.25-0ubuntu0.20.04.1