influxdb/tsdb/engine/tsm1
Jonathan A. Sternberg a35d9602cd Fix where filters when a OR is used and when a tag does not exist
If an OR was used, merging filters between different expressions would
not work correctly. If one of the sides had a set of series ids with a
condition and the other side had no series ids associated with the
expression, all of the series from the side with a condition would have
the condition ignored. Instead of defaulting a non-existant series
filter to true, it should just be false and the evaluation of the one
side that does exist should take care of determining if the series id
should be included or not. The AND condition used false correctly so did
not have to be changed.

If a tag did not exist and `!=` or `!~` were used, it would return false
even though the neither a field or a tag equaled those values. This has
now been modified to correctly return the correct series ids and the
correct condition.

Also fixed a panic that would occur when a tag caused a field access to
become unnecessary. The filter using the field access still got created
and used even though it was unnecessary, resulting in an attempted
access to a non-initialized map.

Fixes #5152 and a bunch of other miscellaneous issues.
2016-03-22 12:19:06 -04:00
..
DESIGN.md doc: remove the implication that the wal directory is inside the shard directory. 2016-02-15 05:33:22 +11:00
bool.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
bool_test.go Merge #5855 (issue: #5854). 2016-02-29 20:37:32 +11:00
cache.go Fix deadlock when running backup 2016-03-14 12:36:48 -06:00
cache_race_test.go Fix deadlock when running backup 2016-03-14 12:36:48 -06:00
cache_test.go Fix deadlock when running backup 2016-03-14 12:36:48 -06:00
compact.go Return error when TSM writer close returns one 2016-03-21 15:00:36 -06:00
compact_test.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00
cursor.go rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00
encoding.go Changed type-switch a few places to reduce allocations. 2016-03-11 15:57:05 -05:00
encoding_test.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00
engine.go Fix where filters when a OR is used and when a tag does not exist 2016-03-22 12:19:06 -04:00
engine_test.go Track stats for number of series, measurements 2016-02-24 08:10:16 -08:00
file_store.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
file_store_test.go Fix skipping blocks at query time when overlaps exist 2016-03-14 13:11:11 -06:00
file_unix.go fix TSMReader.Delete() and all unit tests is pass in the windows 2016-01-31 11:32:08 +08:00
file_windows.go fix TSMReader.Delete() and all unit tests is pass in the windows 2016-01-31 11:32:08 +08:00
float.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
float_test.go Merge #5855 (issue: #5854). 2016-02-29 20:37:32 +11:00
int.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
int_test.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
iterator.gen.go Fix ORDER BY desc so it doesn't skip values 2016-03-22 09:40:11 -04:00
iterator.gen.go.tmpl Fix ORDER BY desc so it doesn't skip values 2016-03-22 09:40:11 -04:00
iterator.gen.go.tmpldata Changed type-switch a few places to reduce allocations. 2016-03-11 15:57:05 -05:00
mmap_solaris.go ran go fmt on mmap_solaris.go #4787 2015-12-07 17:41:26 -08:00
mmap_unix.go Remove MAP_POPULATE 2016-01-08 08:45:27 -07:00
mmap_windows.go fix munmap bug in the windows 2016-01-31 10:46:46 +08:00
pools.go integer support 2016-02-10 09:40:25 -07:00
reader.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
reader_test.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00
string.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
string_test.go tsm: modify encoding tests to deal with possible nil slices from testing.quick.Check in go master 2016-02-29 20:36:19 +11:00
timestamp.go Skip decoding blocks that are already full 2015-12-17 12:47:05 -07:00
timestamp_test.go Skip decoding blocks that are already full 2015-12-17 12:47:05 -07:00
tombstone.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00
tombstone_test.go rename influxdb/influxdb to influxdata/influxdb 2016-02-10 10:26:18 -07:00
wal.go Changed type-switch a few places to reduce allocations. 2016-03-11 15:57:05 -05:00
wal_test.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00
writer.go reduce allocations in query execution 2016-03-22 09:51:39 -06:00
writer_test.go Convert time.Time to int64 2016-02-25 15:15:01 -07:00