Skip to content

Queryable Linq query hangs indefinitely when trying to execute it via a WebApi application #151

@mariana-gendler

Description

@mariana-gendler

I am trying to execute the following query using the Influx.Client.Linq "Queryable" API:

var converter = new NumericSeriesEntryConverter(seriesId, tenant, storage);
var memberResolver = new NumericSeriesEntryMemberResolver();
var queryAPI = influxClient.GetQueryApi(converter);

 var query = from s in InfluxDBQueryable<NumericSeriesEntry>.Queryable(bucket, org, queryAPI, memberResolver)
                where s.SeriesId == seriesId
                select s;

The following line hangs indefinitely without any errors:
List<NumericSeriesEntry> results = query.ToList();

Executing the same logic via a .NET application works as expected, meaning that I am able to retrieve the results successfully

According the call stack, the logic hangs in the following method:

InfluxDB.Client.Linq.dll!InfluxDB.Client.Linq.Internal.InfluxDBQueryExecutor.ExecuteCollection<InfluxDBPOCWebApi.Entities.NumericSeriesEntry>
[External Code]
InfluxDBPOCWebApi.dll!InfluxDBPOCWebApi.Controllers.NumericSeriesEntryController.Get() Line 38
[External Code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions