Skip to content

Instantly share code, notes, and snippets.

@tallpsmith
Created November 17, 2011 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tallpsmith/1372395 to your computer and use it in GitHub Desktop.
Save tallpsmith/1372395 to your computer and use it in GitHub Desktop.
Despite disable_flush and snapshot_interval set to 0, snapshotting to the filesystem is being done.
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][0] updating disable_flush from [false] to [true]
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][1] updating disable_flush from [false] to [true]
[2011-11-17 15:14:57,509][INFO ][index.translog ] [index4.qa.acx] [snaptest][2] updating disable_flush from [false] to [true]
[2011-11-17 15:15:19,369][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][1] snapshot (scheduled) to fs:///mnt/esgateway/[qa4][indices][snaptest][1] ...
[2011-11-17 15:15:19,408][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][1] snapshot (scheduled) completed to fs:///mnt/esgateway/[qa4][indices][snaptest][1], took [38ms]
index : version [1321492168154], number_of_files [1] with total_size [712b], took [7ms]
translog : id [1321492168152], number_of_operations [1], took [4ms]
[2011-11-17 15:19:33,265][INFO ][index.gateway ] [index4.qa.acx] [qa4][0] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,265][DEBUG][index.gateway ] [index4.qa.acx] [qa4][0] scheduling snapshot every [0s]
[2011-11-17 15:19:33,265][INFO ][index.gateway ] [index4.qa.acx] [qa4][1] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [qa4][1] scheduling snapshot every [0s]
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [qa4][2] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [qa4][2] scheduling snapshot every [0s]
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [qa4][3] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [qa4][3] scheduling snapshot every [0s]
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [qa4][4] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [qa4][4] scheduling snapshot every [0s]
# WE SET THE SNAPSHOT INTERVAL TO 0
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [snaptest][0] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][0] scheduling snapshot every [0s]
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [snaptest][1] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][1] scheduling snapshot every [0s]
[2011-11-17 15:19:33,266][INFO ][index.gateway ] [index4.qa.acx] [snaptest][2] updating snapshot_interval from [10s] to [0s]
[2011-11-17 15:19:33,266][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][2] scheduling snapshot every [0s]
# WE NOW MUTATE THE INDEX, and a snapshot occurs immediately (the time lag here is deliberate as we were debating something, there's nothing snipped here)
[2011-11-17 15:21:06,284][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][0] snapshot (scheduled) to fs:///mnt/esgateway/[qa4][indices][snaptest][0] ...
[2011-11-17 15:21:06,338][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][0] snapshot (scheduled) completed to fs:///mnt/esgateway/[qa4][indices][snaptest][0], took [54ms]
index : version [1321492166652], number_of_files [1] with total_size [494b], took [10ms]
translog : id [1321492166667], number_of_operations [1], took [12ms]
[2011-11-17 15:23:57,430][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][2] snapshot (scheduled) to fs:///mnt/esgateway/[qa4][indices][snaptest][2] ...
[2011-11-17 15:23:57,480][DEBUG][index.gateway ] [index4.qa.acx] [snaptest][2] snapshot (scheduled) completed to fs:///mnt/esgateway/[qa4][indices][snaptest][2], took [50ms]
index : version [1321492166699], number_of_files [1] with total_size [712b], took [9ms]
translog : id [1321492166696], number_of_operations [1], took [6ms]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment