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

cql3 grammar generation can fail due to ANTLR timeout.

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment