This file contains hidden or 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
    
  
  
    
  | lists:sort(fun({_, X}, {_, Y}) -> X > Y end, | |
| dict:to_list(lists:foldl( | |
| fun(Pid, Dict) -> | |
| InitialCall = case erlang:process_info(Pid, initial_call) of | |
| {initial_call,{proc_lib,init_p,A}} -> | |
| case erlang:process_info(Pid, dictionary) of | |
| {dictionary, D} -> proplists:get_value('$initial_call', D, undefined); | |
| _ -> {proc_lib,init_p,A} | |
| end; | |
| {initial_call,{erlang,apply,A}} -> | 
  
    
      This file contains hidden or 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
    
  
  
    
  | lists:sort(fun({_, X}, {_, Y}) -> X > Y end, | |
| dict:to_list(lists:foldl( | |
| fun(Pid, Dict) -> | |
| InitialCall = case erlang:process_info(Pid, initial_call) of | |
| {initial_call,{proc_lib,init_p,A}} -> | |
| case erlang:process_info(Pid, dictionary) of | |
| {dictionary, D} -> proplists:get_value('$initial_call', D, undefined); | |
| _ -> {proc_lib,init_p,A} | |
| end; | |
| {initial_call,{erlang,apply,A}} -> | 
  
    
      This file contains hidden or 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
    
  
  
    
  | http://engblog.polyvore.com/2015/03/cassandra-compaction-and-tombstone.html | |
| size tiered (need storage space, mixed read, update, delete workloads) vs. | |
| level tiered compaction strategy (read heavy workloads, more resource intensive) | |
| http://dbwrangler.blogspot.co.id/2012/10/cassandra-working-with-time-to-live-ttl.html | |
| about ttl and compaction in cassandra with 3 nodes | |
| http://www.sestevez.com/range-tombstones/ | |
| range tombstone | |
  
    
      This file contains hidden or 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
    
  
  
    
  | ([email protected])6> rp(v(5)). | |
| [{tt_devapi_roles_service_SUITE,create_role_keywords,ok, | |
| 8933573}, | |
| {tt_devapi_roles_service_SUITE,create_role_no_owners,ok, | |
| 1515910}, | |
| {tt_devapi_roles_service_SUITE,create_role_with_owners,ok, | |
| 831804}, | |
| {tt_devapi_roles_service_SUITE,create_role_saml_enabled_org, | |
| ok,1104153}, | |
| {tt_devapi_roles_service_SUITE,create_role_non_saml_enabled_org, | 
  
    
      This file contains hidden or 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
    
  
  
    
  | readonly LOG_DEFAULT_COLOR=$(tput sgr0) # Clear colors | |
| readonly LOG_ERROR_COLOR=$(tput setaf 1) # Red | |
| readonly LOG_INFO_COLOR=$(tput sgr 0) # White | |
| readonly LOG_SUCCESS_COLOR=$(tput setaf 2) # Green | |
| readonly LOG_WARN_COLOR=$(tput setaf 3) # Yellow | |
| readonly LOG_DEBUG_COLOR=$(tput setaf 4) # Blue | 
  
    
      This file contains hidden or 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
    
  
  
    
  | ^C | |
| dliman@dev-full-i-06d10a21916387f7f:/opt/developer_api/log$ exit a | |
| logout | |
| -bash: exit: a: numeric argument required | |
| Connection to 10.0.11.114 closed. | |
| dliman@admin-bastion-i-dd0e5846:~$ cat fabfile.py | |
| import os, sys, re, boto, urllib2, itertools, time | |
| from boto.ec2 import connect_to_region | |
| from fabric.api import env, run, cd, settings, sudo, open_shell | |
| from fabric.api import parallel | 
  
    
      This file contains hidden or 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
    
  
  
    
  | ([email protected])4> rp(v(2)). | |
| [{tt_devapi_roles_service_SUITE,create_role_keywords,ok, | |
| 8696256}, | |
| {tt_devapi_roles_service_SUITE,create_role_no_owners,ok, | |
| 1467221}, | |
| {tt_devapi_roles_service_SUITE,create_role_with_owners,ok, | |
| 795725}, | |
| {tt_devapi_roles_service_SUITE,create_role_saml_enabled_org, | |
| ok,990792}, | |
| {tt_devapi_roles_service_SUITE,create_role_non_saml_enabled_org, | 
  
    
      This file contains hidden or 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
    
  
  
    
  | {application, gd, | |
| [{description, "gd"}, | |
| {vsn, "0.1.0"}, | |
| {registered, [gd_sup]}, | |
| {mod, {gd_app, []}}, | |
| {applications, [ | |
| kernel, | |
| stdlib, | |
| lager, | |
| gproc, | 
  
    
      This file contains hidden or 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
    
  
  
    
  | Host sin-bastion | |
| User dliman | |
| HostName 52.220.46.107 | |
| ForwardAgent yes | |
| ControlPath ~/.ssh/cm-%r@%h:%p | |
| ControlMaster auto | |
| ControlPersist 10m | |
| Host prodsg-* | |
| ProxyCommand ssh sin-bastion -AW %h:%p | 
  
    
      This file contains hidden or 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
    
  
  
    
  | dliman@qa-roles-i-40f58a56:~$ cat /usr/local/bin/roles | |
| #!/bin/bash | |
| # Shell connect | |
| set -e | |
| NAME=`uuidgen | sed -e 's/-//g'` | |
| COOKIE=`grep cookie /opt/roles/etc/vm.args| cut -d' ' -f2` | |
| CLUSTER_NAME=`grep name /opt/roles/etc/vm.args | awk '{print $2}'` | |
| cd /opt/roles/erts-*/bin |