• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/BerkeleyDB-21/db/rep/

Lines Matching refs:sp

231 	DB_REP_STAT *sp;
235 if ((ret = __rep_stat(env, &sp, flags)) != 0)
241 switch (sp->st_status) {
258 (u_long)sp->st_next_lsn.file, (u_long)sp->st_next_lsn.offset,
261 (u_long)sp->st_waiting_lsn.file, (u_long)sp->st_waiting_lsn.offset,
262 sp->st_waiting_lsn.file == 0 ?
266 (u_long)sp->st_max_perm_lsn.file,
267 (u_long)sp->st_max_perm_lsn.offset,
268 sp->st_max_perm_lsn.file == 0 ?
272 __db_dl(env, "Next page number expected", (u_long)sp->st_next_pg);
273 p = sp->st_waiting_pg == PGNO_INVALID ?
276 __db_msg(env, "%lu\t%s", (u_long)sp->st_waiting_pg, p);
279 (u_long)sp->st_dupmasters);
280 if (sp->st_env_id != DB_EID_INVALID)
281 __db_dl(env, "Current environment ID", (u_long)sp->st_env_id);
285 "Current environment priority", (u_long)sp->st_env_priority);
286 __db_dl(env, "Current generation number", (u_long)sp->st_gen);
288 "Current election generation number", (u_long)sp->st_egen);
290 (u_long)sp->st_log_duplicated);
292 (u_long)sp->st_log_queued);
294 (u_long)sp->st_log_queued_max);
296 (u_long)sp->st_log_queued_total);
299 (u_long)sp->st_log_records);
301 (u_long)sp->st_log_requested);
302 if (sp->st_master != DB_EID_INVALID)
303 __db_dl(env, "Current master ID", (u_long)sp->st_master);
307 (u_long)sp->st_master_changes);
310 (u_long)sp->st_msgs_badgen);
312 (u_long)sp->st_msgs_processed);
314 (u_long)sp->st_msgs_recover);
316 (u_long)sp->st_msgs_send_failures);
317 __db_dl(env, "Number of messages sent", (u_long)sp->st_msgs_sent);
319 "Number of new site messages received", (u_long)sp->st_newsites);
322 (u_long)sp->st_nsites);
323 __db_dl(env, "Transmission limited", (u_long)sp->st_nthrottles);
325 (u_long)sp->st_outdated);
327 (u_long)sp->st_pg_duplicated);
329 (u_long)sp->st_pg_records);
331 (u_long)sp->st_pg_requested);
332 if (sp->st_startup_complete == 0)
337 "Number of transactions applied", (u_long)sp->st_txns_applied);
340 (u_long)sp->st_startsync_delayed);
342 __db_dl(env, "Number of elections held", (u_long)sp->st_elections);
344 "Number of elections won", (u_long)sp->st_elections_won);
346 if (sp->st_election_status == 0) {
348 if (sp->st_election_sec > 0 || sp->st_election_usec > 0)
351 (u_long)sp->st_election_sec,
352 (u_long)sp->st_election_usec);
355 (u_long)sp->st_election_status);
357 (u_long)sp->st_election_cur_winner);
359 (u_long)sp->st_election_gen);
361 (u_long)sp->st_election_lsn.file,
362 (u_long)sp->st_election_lsn.offset);
365 (u_long)sp->st_election_nsites);
367 (u_long)sp->st_election_nvotes);
369 "Election priority", (u_long)sp->st_election_priority);
371 (u_long)sp->st_election_tiebreaker);
373 (u_long)sp->st_election_votes);
376 (u_long)sp->st_bulk_fills);
378 (u_long)sp->st_bulk_overflows);
380 (u_long)sp->st_bulk_records);
382 (u_long)sp->st_bulk_transfers);
384 (u_long)sp->st_client_rerequests);
387 (u_long)sp->st_client_svc_miss);
389 (u_long)sp->st_client_svc_req);
390 if (sp->st_max_lease_sec > 0 || sp->st_max_lease_usec > 0)
393 (u_long)sp->st_max_lease_sec,
394 (u_long)sp->st_max_lease_usec);
396 __os_ufree(env, sp);