Ildar Absalyamov created ASTERIXDB-2137:
-------------------------------------------

             Summary: Feeds status REST API hangs after a feed is stopped
                 Key: ASTERIXDB-2137
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2137
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Ildar Absalyamov
            Assignee: Xikui Wang


GET on feed status REST endpoint localhost:19002/admin/active goes into an 
endless loop and never returns a result if any feed successfully completes or 
is stopped by the user.
After the following AQL "curl http://127.0.0.1:19002/admin/active"; hangs 
forever:
{code}
drop dataverse test if exists;
create dataverse test;
use dataverse test;
create type TestType as open {
        "id": int8
}
create dataset TestDataset(TestType) primary key id;
create feed TestFeed using socket_adapter
(
    ("sockets"="localhost:10001"),
    ("address-type"="IP"),
    //type of the record
    ("type-name"="TestType"),
    //format of the record
    ("format"="adm")
);
connect feed TestFeed to dataset TestDataset;
set wait-for-completion-feed "no";
start feed TestFeed;
stop feed TestFeed;
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to