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

When running CQLSH with STDIN input, exit with error status code if script fails

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Assuming CASSANDRA-6344 is in place for years and considering that scripts submitted with the `-e` option behave in a similar fashion, it is very surprising that scripts submitted to STDIN (i.e. piped in) always exit with a zero code, regardless of errors. I believe this should be fixed.

        Attachments

          Activity

            People

            • Assignee:
              plastikat Jacob Becker Assign to me
              Reporter:
              plastikat Jacob Becker
              Authors:
              Jacob Becker
              Reviewers:
              Dinesh Joshi, Jordan West

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                  Issue deployment