After reindexing ES due to the Search Cluster changes, everything went smoothly except for one task that failed to be indexed.
The tasks title has 270 chars according to PHP strlen, 262 according to mb_strlen.
EXCEPTION: (PhabricatorWorkerPermanentFailureException) Failed to update search index for document "PHID-TASK-ax3m53aoe3bmbccak5v2": Writes to search services failed while reindexing document "PHID-TASK-ax3m53aoe3bmbccak5v2".
- AphrontQueryException: #1406: Data too long for column 'documentTitle' at row 1 at [<phabricator>/src/applications/search/worker/PhabricatorSearchWorker.php:54]
arcanist(head=stable, ref.master=fad85844314b, ref.stable=60aaee0ed3f5), phabricator(head=stable, ref.master=237f94b830a4, ref.stable=529b64c4ab60), phutil(head=stable, ref.master=5ac2ca121489, ref.stable=f568eb7b9542)
#0 <#2> PhabricatorSearchWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:123] #1 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:162] #2 <#2> PhabricatorWorker::scheduleTask(string, array, array) called at [<phabricator>/src/applications/search/worker/PhabricatorSearchWorker.php:18] #3 <#2> PhabricatorSearchWorker::queueDocumentForIndexing(string, array) called at [<phabricator>/src/applications/search/management/PhabricatorSearchManagementIndexWorkflow.php:128] #4 phlog(PhabricatorWorkerPermanentFailureException) called at [<phabricator>/src/applications/search/management/PhabricatorSearchManagementIndexWorkflow.php:141] #5 PhabricatorSearchManagementIndexWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:441] #6 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:333] #7 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/search/manage_search.php:21]