Permalink
Browse files

Enable TSD compactions by default.

  • Loading branch information...
tsuna committed Feb 19, 2013
1 parent f6a2403 commit 553f6422dc69144ecbe2cdc94fd5beb185524027
Showing with 3 additions and 1 deletion.
  1. +1 −0 NEWS
  2. +2 −1 src/core/TSDB.java
View
1 NEWS
@@ -23,6 +23,7 @@ Noteworthy changes:
- Fix auto-completion bug causing partial results to show in the web UI.
- Various internal bug fixes.
- Update all dependencies.
+ - TSDB data compaction is now enabled by default.
* Version 1.0.0 (2011-12-23) [66a6b42]
View
@@ -57,7 +57,8 @@
static final boolean enable_compactions;
static {
final String compactions = System.getProperty("tsd.feature.compactions");
- enable_compactions = compactions != null && !"false".equals(compactions);
+ // If not set, or set to anything but "false", defaults to true.
+ enable_compactions = !"false".equals(compactions);
}
/** Client for the HBase cluster to use. */

0 comments on commit 553f642

Please sign in to comment.