influxdb/cmd
Joe LeGasse 9af4894c1c influx_tsm: ignore series index and convert all points
A case (#5606) was found where a lot of data unexpectedly disappeared from a database
following a TSM conversion.

The proximate cause was an inconsistency between the root Bolt DB bucket list
and the meta data in the "series" bucket of the same shard. There were apparently valid
series in Bolt DB buckets that were no longer referenced by the meta data
in the "series" bucket - so-called orphaned series; since the conversion
process only iterated across the series found in the meta data, the conversion process
caused the orphaned series to be removed from the converted shards. This resulted in the
unexpected removal of data from the TSM shards that had previously been accessible
(despite the meta data inconsistency) in the b1 shards.

The root cause of the meta data inconsistency in the case above was a failure, in versions prior
to v0.9.3 (actually 3348dab) to update the "series" bucket with series that had been created in
previous shards during the life of the same influxd process instance.

This fix is required to avoid data loss during TSM conversions for shards that were created with
versions of influx that did not include 3348dab (e.g. prior to v0.9.3).

Analysis-by: Jon Seymour <jon@wildducktheories.com>
2016-02-16 13:46:01 -05:00
..
influx Switched 0.9 references to 0.10. 2016-02-11 08:44:45 -06:00
influx_inspect rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00
influx_stress rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00
influx_tsm influx_tsm: ignore series index and convert all points 2016-02-16 13:46:01 -05:00
influxd Remove MetaServers from node.json 2016-02-15 22:42:51 -07:00