Advertisement
vadimtk

Untitled

Mar 8th, 2011
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. /* if gap increased - we should increase flushing, and otherwise */
  2. if (lsn_gap_grow > 0) {
  3. n_flush_diff_dbl = (double) n_flush_dbl * ( lsn_gap ) * srv_grow_flush_pct / max_age_gap / 1000;
  4. } else {
  5. n_flush_diff_dbl = - (double) n_flush_dbl * ( log_sys->max_modified_age_async - lsn_gap ) * srv_grow_flush_pct / max_age_gap / 1000;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement