Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6991

cql3 grammar generation can fail due to ANTLR timeout.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.7, 2.1 beta2
    • Component/s: None
    • Labels:
      None

      Description

      Because of the technique used in Cql.g to tokenize both case-insensitive keywords and case-sensitive identifiers, builds can fail randomly for computers at some arbitrary speed boundary. This is because ANTLR has a feature where it times out if DFA generation takes longer than a preset amount of time. An easy workaround is to use the -Xconversiontimeout option (patch attached).

        Attachments

        1. xconversiontimeout.patch
          0.9 kB
          Ben Chan

          Activity

            People

            • Assignee:
              usrbincc Ben Chan
              Reporter:
              usrbincc Ben Chan
              Authors:
              Ben Chan
              Reviewers:
              Tom Hobbs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: