This PR was squashed before being merged into the 2.8 branch (closes#10055).
Mentioned the 767 bytes index limit and its solution
This fixes#6398. Sadly this error is very common (I also faced myself several times) and the error message is cryptic, so let's document this problem and its solution.
092b7c0 Mentioned the 767 bytes index limit and its solution