influxdata / influxdata/influxdb-client-csharp

WriteApi blocking for up to 30s when InfluxDB is down

Open
#623 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
377
Forks
93
Avg merge
9m
Merged PRs (30d)
2

Description

__Steps to reproduce:__
1. Write data in loop
2. Take down InfluxDB
3. Observe large duration of WriteApi#Write

__Expected behavior:__
Even if InfluxDB is down, the Synchronous API doesn't block

__Actual behavior:__
When InfluxDB is down, the Synchronous API block for up to 30s

__Specifications:__
- Client Version: 3.3.0
- InfluxDB Version: 2.7.5
- Platform: Windows

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported delay with WriteApi#Write while InfluxDB 2.7.5 is unavailable, using the C# client 3.3.0 on Windows. Trace the synchronous WriteApi path and its request handling; done means writes no longer block for up to 30 seconds when the server is down, with coverage for the failure case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.