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

DROP TABLE should also drop prepared statements associated to

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.1
    • None
    • OSX 10.9.4 / JDK 1.8.0_05

    • Normal

    Description

      An integration test suite that drops and creates the same column family 3 times causes the following error in the server log:

      INFO 15:40:34 Initializing gocql_test.wiki_page
      ERROR 15:40:34 Attempted to write commit log entry for unrecognized column family: b0e167e0-0dc8-11e4-9cbb-29a4872887f2
      ERROR 15:40:34 Attempting to mutate non-existant column family b0e167e0-0dc8-11e4-9cbb-29a4872887f2
      ERROR 15:40:34 Attempted to write commit log entry for unrecognized column family: b0e167e0-0dc8-11e4-9cbb-29a4872887f2
      ERROR 15:40:34 Attempting to mutate non-existant column family b0e167e0-0dc8-11e4-9cbb-29a4872887f2

      The test that reproduces this issue is here:

      https://github.com/gocql/gocql/blob/master/wiki_test.go

      Interestingly this issue only occurs after the common table is dropped/created for the 3rd time. If only one of the tests is run on its own, this issue does not arise.

      Attachments

        Issue Links

        Activity

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

          People

            viju Viju Kothuvatiparambil Assign to me
            0x6e6562 Ben Hood
            Viju Kothuvatiparambil
            Tom Hobbs
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment