influxdata / influxdata/influxdb-java

EnableBatch and write several databases at the same time, the data be written to the wrong database.

Open
#716 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.2k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

the influxdb-java version

org.influxdb
influxdb-java
2.20

![image](https://user-images.githubusercontent.com/38175804/102038545-8066a780-3e02-11eb-9889-c0b3b0a1e993.png)

All the data should be written to the first database,but some of the data is written to the other database.

I think a InfluxDB object write several databases with enableBatch at the same time,there is a bug.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with influxdb-java 2.20 using one InfluxDB object, EnableBatch, and writes targeting several databases. Trace the batch handling and database selection; done means all data is written to the intended database rather than another database.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
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.