Jacob Marble
5e4085a9df
Correct godoc for SeriesFile.CreateSeriesListIfNotExists
2018-05-10 17:03:09 -07:00
Jacob Marble
87d73d405c
tsdb/SeriesFile: remove unused function param
2018-05-04 11:22:12 -07:00
Jason Wilder
97f61e0ff4
Allow SeriesFile compaction to be disabled
2018-01-18 15:54:52 -07:00
Jason Wilder
28edf1392a
Use full 32bits for series IDs
...
This reworks the series ID allocation to prevent an overflow issue.
2018-01-18 09:45:36 -07:00
Jason Wilder
5d1f76192a
Ensure series file is not closed while in use
2018-01-12 16:58:33 -07:00
Jason Wilder
72910b6bf0
Don't clear partitions on close
...
Since partitions slice is not protected under a lock, setting it to
nil while closing causes a race if concurrent calls are accessing
the partitions slice elsewhere. Since partitions do handle
concurrency and Open resets the slice, just leave it as it after
closing.
2018-01-11 15:46:38 -07:00
Ben Johnson
9bf45fcae0
Improve inmem insert performance with non-sequential series ids.
2018-01-10 13:08:16 -07:00
Ben Johnson
ac4dc91c64
Partition series file.
2018-01-10 08:33:25 -07:00
Ben Johnson
c0a46d2d3d
Fix series file compaction stall.
...
The series file compaction previously did not snapshot the max
offset before compacting and would keep compacting until it reached
the end of segment file. This caused more entries than expected into
the RHH map and this map gets exponentially slower as it gets close
to full.
2018-01-08 09:53:01 -07:00
Ben Johnson
6f32f15fd3
Add closed series file checks.
2018-01-08 09:11:29 -07:00
Ben Johnson
28e6a1a7c2
Fix series file key/id map compaction.
2018-01-04 09:16:29 -07:00
Ben Johnson
3ac428920c
Merge pull request #9276 from benbjohnson/fix-series-index-compaction
...
Fix series index compaction.
2018-01-03 15:13:19 -07:00
Ben Johnson
48648e828d
Fix series index compaction.
2018-01-03 12:47:07 -07:00
Ben Johnson
31c50532db
Add series existence check in tsi1.
2018-01-03 12:20:35 -07:00
Ben Johnson
3900c948a2
Fix requested changes.
2018-01-03 10:04:12 -07:00
Ben Johnson
52630e69d7
Integrate SeriesFileCompactor
2018-01-02 12:20:03 -07:00
Ben Johnson
56980b0d24
Segment series file
2017-12-29 11:57:45 -07:00
Ben Johnson
4ab1542cfc
Series file compactor.
2017-12-29 11:57:45 -07:00
Ben Johnson
f240a930c7
Preserve original mmap in series file.
2017-12-21 20:00:05 -07:00
Ben Johnson
895ca7a04b
Adjust 386 max series file size.
2017-12-21 14:50:07 -07:00
Ben Johnson
4fd48cfcd1
Replace in-memory series file map with rhh.
2017-12-21 12:57:21 -07:00
Ben Johnson
4d7426ebbd
Fix race bug.
2017-12-21 10:12:21 -07:00
Ben Johnson
d8b1d208c0
rebase
2017-12-20 15:13:34 -07:00
Ben Johnson
8b2dbf4d83
Merge branch 'er-tsi-index-part' of https://github.com/influxdata/influxdb into er-tsi-index-part
2017-12-19 10:33:02 -07:00
Ben Johnson
107291c6b0
series file refactor
2017-12-19 10:31:33 -07:00
Edd Robinson
d59f79338b
Update series map threshold
2017-12-15 15:58:01 +00:00
Edd Robinson
3bfe525705
Add 32-bit support to series file
...
This commit ensures that the series file should work appropriately on
32-bit architecturs. It does this by reducing the maximum size of a
series file to 512MB on 32-bit systems, which should be fully
addressable.
It further updates tests so that the series file size can be reduced
further when running many tests in parallel on 32-bit architectures.
2017-12-15 15:47:26 +00:00
Edd Robinson
68de5ca24f
🔥 little endianness
2017-11-30 17:57:16 +00:00
Edd Robinson
a46f186118
Tweak constants
2017-11-30 17:23:03 +00:00
Ben Johnson
01491ca4f4
intermediate
2017-11-27 07:52:18 -07:00
Ben Johnson
fc966a1b67
Add series file backup/restore.
2017-11-22 08:55:54 -07:00
Ben Johnson
ede3fcf98e
intermediate
2017-11-15 16:09:25 -07:00