OpenSearch/plugins
Jason Tedor c95e7539e7
Enhance error for out of bounds byte size settings (#29338)
Today when you input a byte size setting that is out of bounds for the
setting, you get an error message that indicates the maximum value of
the setting. The problem is that because we use ByteSize#toString, we
end up with a representation of the value that does not really tell you
what the bound is. For example, if the bound is 2^31 - 1 bytes, the
output would be 1.9gb which does not really tell you want the limit as
there are many byte size values that we format to the same 1.9gb with
ByteSize#toString. We have a method ByteSize#getStringRep that uses the
input units to the value as the output units for the string
representation, so we end up with no loss if we use this to report the
bound. This commit does this.
2018-04-04 07:22:13 -04:00
..
analysis-icu Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
analysis-kuromoji Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
analysis-phonetic Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
analysis-smartcn Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
analysis-stempel Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
analysis-ukrainian Upgrade to lucene-7.3.0-snapshot-98a6b3d. (#29298) 2018-04-03 09:27:14 +02:00
discovery-azure-classic Require JDK 9 for compilation (#28071) 2018-01-16 13:45:13 -05:00
discovery-ec2 Remove execute mode bit from source files 2018-03-26 13:37:55 +02:00
discovery-file Remove some unused code (#27792) 2017-12-13 16:45:55 +01:00
discovery-gce Copy Lucene IOUtils (#29012) 2018-03-13 12:49:33 -04:00
examples Replace jvm-example by two plugin examples (#28339) 2018-01-26 17:34:24 +01:00
ingest-attachment Add ingest-attachment support for per document `indexed_chars` limit (#28977) 2018-03-14 19:07:20 +01:00
ingest-geoip Copy Lucene IOUtils (#29012) 2018-03-13 12:49:33 -04:00
ingest-user-agent Use non deprecated xcontenthelper (#28503) 2018-02-05 16:18:18 -07:00
mapper-murmur3 Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
mapper-size Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
repository-azure Enhance error for out of bounds byte size settings (#29338) 2018-04-04 07:22:13 -04:00
repository-gcs Enhance error for out of bounds byte size settings (#29338) 2018-04-04 07:22:13 -04:00
repository-hdfs Fix third-party audit tasks on JDK 8 2018-01-16 22:59:29 -05:00
repository-s3 Enhance error for out of bounds byte size settings (#29338) 2018-04-04 07:22:13 -04:00
store-smb Validate top-level keys for create index request (#23755) (#23869) 2017-09-26 09:49:20 -07:00
transport-nio Remove NioNotEnabledBootstrapCheck bootstrap check (#28901) 2018-03-08 11:06:36 -07:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00