We have a customer continuously getting this in their error log:
InnoDB: Error (Duplicate key) writing word node to FTS auxiliary index table.
|
I haven't been able to reproduce this issue on my side. But looking through the source code, it doesn't seem like this type of error should be reported in the error log. Perhaps it could be better handled internally (silently ignored?).
This is a problem because it uselessly fills up the error log.
Thanks,
-will
2017-08-10 - A careful code review would be needed to answer the question if this has any user-visible impact, or why this occurs in the first place.
{"report":{"fcp":832.7000000476837,"ttfb":267.2000000476837,"pageVisibility":"visible","entityId":61179,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"cd808364-a40c-4001-8e5a-aad370f40bb6","navigationType":0,"readyForUser":944.7000000476837,"redirectCount":0,"resourceLoadedEnd":1007.0999999046326,"resourceLoadedStart":272.89999985694885,"resourceTiming":[{"duration":47.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":272.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":272.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":320.5,"responseStart":0,"secureConnectionStart":0},{"duration":47.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":273.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":273.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":320.89999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":106,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":273.2999999523163,"connectEnd":273.2999999523163,"connectStart":273.2999999523163,"domainLookupEnd":273.2999999523163,"domainLookupStart":273.2999999523163,"fetchStart":273.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":273.2999999523163,"responseEnd":379.2999999523163,"responseStart":379.2999999523163,"secureConnectionStart":273.2999999523163},{"duration":184.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":273.5,"connectEnd":273.5,"connectStart":273.5,"domainLookupEnd":273.5,"domainLookupStart":273.5,"fetchStart":273.5,"redirectEnd":0,"redirectStart":0,"requestStart":273.5,"responseEnd":457.89999985694885,"responseStart":457.89999985694885,"secureConnectionStart":273.5},{"duration":187.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":273.7000000476837,"connectEnd":273.7000000476837,"connectStart":273.7000000476837,"domainLookupEnd":273.7000000476837,"domainLookupStart":273.7000000476837,"fetchStart":273.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":273.7000000476837,"responseEnd":461.59999990463257,"responseStart":461.5,"secureConnectionStart":273.7000000476837},{"duration":188.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":273.89999985694885,"connectEnd":273.89999985694885,"connectStart":273.89999985694885,"domainLookupEnd":273.89999985694885,"domainLookupStart":273.89999985694885,"fetchStart":273.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":273.89999985694885,"responseEnd":462,"responseStart":462,"secureConnectionStart":273.89999985694885},{"duration":188.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":274,"connectEnd":274,"connectStart":274,"domainLookupEnd":274,"domainLookupStart":274,"fetchStart":274,"redirectEnd":0,"redirectStart":0,"requestStart":274,"responseEnd":462.2999999523163,"responseStart":462.2999999523163,"secureConnectionStart":274},{"duration":248,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":274.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":274.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":522.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":188.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":274.2999999523163,"connectEnd":274.2999999523163,"connectStart":274.2999999523163,"domainLookupEnd":274.2999999523163,"domainLookupStart":274.2999999523163,"fetchStart":274.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":274.2999999523163,"responseEnd":462.7999999523163,"responseStart":462.7999999523163,"secureConnectionStart":274.2999999523163},{"duration":247.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":274.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":274.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":522.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":188.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":274.59999990463257,"connectEnd":274.59999990463257,"connectStart":274.59999990463257,"domainLookupEnd":274.59999990463257,"domainLookupStart":274.59999990463257,"fetchStart":274.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":274.59999990463257,"responseEnd":463.2999999523163,"responseStart":463.2999999523163,"secureConnectionStart":274.59999990463257},{"duration":544.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":275.59999990463257,"connectEnd":275.59999990463257,"connectStart":275.59999990463257,"domainLookupEnd":275.59999990463257,"domainLookupStart":275.59999990463257,"fetchStart":275.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":275.59999990463257,"responseEnd":820.2999999523163,"responseStart":820.2999999523163,"secureConnectionStart":275.59999990463257},{"duration":702.1000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":279.89999985694885,"connectEnd":279.89999985694885,"connectStart":279.89999985694885,"domainLookupEnd":279.89999985694885,"domainLookupStart":279.89999985694885,"fetchStart":279.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":279.89999985694885,"responseEnd":982,"responseStart":982,"secureConnectionStart":279.89999985694885},{"duration":286.60000014305115,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":534.0999999046326,"connectEnd":534.0999999046326,"connectStart":534.0999999046326,"domainLookupEnd":534.0999999046326,"domainLookupStart":534.0999999046326,"fetchStart":534.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":534.0999999046326,"responseEnd":820.7000000476837,"responseStart":820.7000000476837,"secureConnectionStart":534.0999999046326},{"duration":180.59999990463257,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":826.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":826.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1007.3999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":158,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":849.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":849.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1007.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":135.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":850.0999999046326,"connectEnd":850.0999999046326,"connectStart":850.0999999046326,"domainLookupEnd":850.0999999046326,"domainLookupStart":850.0999999046326,"fetchStart":850.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":850.0999999046326,"responseEnd":985.3999998569489,"responseStart":985.3999998569489,"secureConnectionStart":850.0999999046326},{"duration":142.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":850.5,"connectEnd":850.5,"connectStart":850.5,"domainLookupEnd":850.5,"domainLookupStart":850.5,"fetchStart":850.5,"redirectEnd":0,"redirectStart":0,"requestStart":850.5,"responseEnd":992.7000000476837,"responseStart":992.7000000476837,"secureConnectionStart":850.5},{"duration":73.89999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1017,"connectEnd":1017,"connectStart":1017,"domainLookupEnd":1017,"domainLookupStart":1017,"fetchStart":1017,"redirectEnd":0,"redirectStart":0,"requestStart":1017,"responseEnd":1090.8999998569489,"responseStart":1090.8999998569489,"secureConnectionStart":1017}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":79,"responseStart":267,"responseEnd":272,"domLoading":270,"domInteractive":1023,"domContentLoadedEventStart":1023,"domContentLoadedEventEnd":1067,"domComplete":1112,"loadEventStart":1112,"loadEventEnd":1112,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":983.8999998569489},{"name":"bigPipe.sidebar-id.end","time":984.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":984.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":987.5999999046326},{"name":"activityTabFullyLoaded","time":1097.5999999046326}],"measures":[],"correlationId":"f727418b077828","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":127,"dbReadsTimeInMs":25,"dbConnsTimeInMs":37,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
As demonstrated in
MDEV-11649andMDEV-12636, it is possible that FTS_DOC_ID sometimes is uninitialized garbage, causing this error.