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

cql3 grammar generation can fail due to ANTLR timeout.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.7, 2.1 beta2
    • None
    • 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

            usrbincc Ben Chan
            usrbincc Ben Chan
            Ben Chan
            Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: