This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -type f -iname '*-Data.db' -size -10M -mtime -2 | cut -c3- | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/,/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodetool setlogginglevel org.apache.cassandra.db.filter ERROR | |
nodetool setlogginglevel org.apache.cassandra.thrift ERROR | |
nodetool setlogginglevel org.apache.cassandra.net ERROR | |
nodetool setlogginglevel org.apache.cassandra.utils ERROR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restart cassandra: sudo service cassandra restart | |
In another terminal spam: nodetool disableautocompaction storage channel_messages | |
Keep spamming until node is up. Checked it worked that there is no compactions for channel_messages with nodetool compactionstats | |
cd /mnt/md0/cassandra/data/storage/channel_messages | |
Get list of files < 10Mb and 2 days old with: find -type f -iname '*-Data.db' -size -10M -mtime -2 | grep -v 'tmp' | cut -c3- | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/,/g' | |
Copy the list into clipboard | |
java -jar /tmp/jmxterm-1.0-alpha-4-uber.jar | |
open localhost:7199 | |
bean org.apache.cassandra.db:type=CompactionManager | |
run forceUserDefinedCompaction <paste list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/OpenLayers.debug.js b/OpenLayers.debug.js | |
index 3a5882f..97661b5 100644 | |
--- a/OpenLayers.debug.js | |
+++ b/OpenLayers.debug.js | |
@@ -64315,12 +64315,13 @@ OpenLayers.Layer.Google.v3 = { | |
cache.rendered = true; | |
me.setGMapVisibility(me.getVisibility()); | |
me.moveTo(me.map.getCenter()); | |
+ cache.googleControl.appendChild(map.viewPortDiv); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
/** | |
* High performance Vector library. | |
* | |
* Constructing vectors is expensive and therefore these functions take | |
* the required operands and a parameter to output the result into. | |
*/ | |
var Vector = {}; |
OlderNewer