Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1302

Deadlock while trying to drop dataverse of disconnected feed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ING - Ingestion
    • Labels:
      None

      Description

      Consider the following feed definition:

      drop dataverse experiments if exists;
      create dataverse experiments;
      use dataverse experiments;
      
      create type TwitterUserType as closed {
          screen-name: string,
          lang: string,
          friends_count: int32,
          statuses_count: int32,
          name: string,
          followers_count: int32
      }
      
      create type TweetMessageType as closed {
          tweetid: int64,
          user: TwitterUserType,
          sender-location: point,
          send-time: datetime,
          referred-topics: {{ string }},
          message-text: string
      }
      
      create dataset Tweets(TweetMessageType) primary key tweetid;
      
      create feed TweetFeed using socket_adapter
      (
          ("sockets"="127.0.0.1:10001"),
          ("address-type"="IP"),
          ("type-name"="TweetMessageType"),
          ("format"="adm")
      );
      
      set wait-for-completion-feed "false";
      
      connect feed TweetFeed to dataset Tweets;
      disconnect feed TweetFeed from dataset Tweets;
      

      Even after the feed is in disconnected state any modification operation on dataset\dataverse such as drop would result in a deadlock

       
      drop dataverse experiments;
      

        Attachments

          Activity

            People

            • Assignee:
              amoudi Abdullah Alamoudi
              Reporter:
              iabsalyamov Ildar Absalyamov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: