Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------------------------------------------------------------
- Manatee primary
- [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# manatee-adm pg-status
- ROLE PEER PG REPL SENT FLUSH REPLAY LAG
- primary 485385ab ok sync 18/850350F0 18/850350F0 18/85034808 -
- sync 62b1b006 ok - - - - 0m11s
- async 6f436710 fail - - - - -
- warning: peer "62b1b006": downstream replication peer not connected
- [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# ps -Af
- ...
- postgres 26621 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(59335) idle
- postgres 26678 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(64218) idle
- postgres 26593 26543 0 09:15:58 ? 0:05 postgres: moray moray 10.25.0.46(54592) idle
- postgres 26651 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(45624) idle
- postgres 26619 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(44859) idle
- postgres 26699 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(36137) idle
- postgres 27624 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(56120) idle
- postgres 27626 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(49673) idle
- postgres 27625 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(56964) idle
- postgres 26622 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(62636) idle
- postgres 27606 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(34137) idle
- postgres 27611 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(36875) idle
- postgres 27613 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(50951) idle
- postgres 26691 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.45(43148) idle
- postgres 26680 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(57386) idle
- postgres 27620 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(49521) idle
- postgres 26618 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(51612) idle
- postgres 27616 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(36670) idle
- postgres 26589 26543 0 09:15:58 ? 0:05 postgres: moray moray 10.25.0.46(62137) idle
- postgres 27595 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(47248) idle
- postgres 26627 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(32852) idle
- postgres 26602 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(36399) idle
- postgres 26690 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(34718) idle
- postgres 26689 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(61991) idle
- postgres 26692 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(57601) idle
- postgres 27596 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(61951) idle
- [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# cat $(svcs -L | grep sitter) | bunyan
- ...
- [2022-10-18T20:42:42.962Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
- row: {
- "timetz": "20:42:42.962376+00"
- }
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: returned (err=null, timeElapsed=10000, timeOut=60000)
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
- row: {
- "timetz": "20:42:52.964588+00"
- }
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: returned (err=null, timeElapsed=10002, timeOut=60000)
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
- [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
- [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:43:02.967Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: returned (err=null, timeElapsed=10000, timeOut=60000)
- [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
- row: {
- "timetz": "20:42:52.964588+00"
- }
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: returned (err=null, timeElapsed=10002, timeOut=60000)
- [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
- [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
- [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:43:02.967Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- --------------------------------------------------------------------------------------------------
- Manatee sync
- [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# manatee-adm pg-status
- ROLE PEER PG REPL SENT FLUSH REPLAY LAG
- primary 485385ab ok sync 18/850504A8 18/850504A8 18/8504E298 -
- sync 62b1b006 ok - - - - 0m07s
- async 6f436710 fail - - - - -
- warning: peer "62b1b006": downstream replication peer not connected
- [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# ps -Af
- UID PID PPID C STIME TTY TIME CMD
- root 309733 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-registrar:default.log
- root 8641 8635 0 - ? 0:00 <defunct>
- root 8039 8009 0 Apr 13 ? 2:26 /lib/svc/bin/svc.startd
- nobody 12479 8009 0 Apr 13 ? 83:52 node main.js -f ./etc/config.json
- root 10337 10295 0 Apr 13 ? 86:19 /opt/amon-agent/build/node/bin/node /opt/amon-agent/main.js -v
- root 8009 7450 0 Apr 13 ? 0:22 /sbin/init
- postgres 12774 12771 0 Apr 13 ? 0:00 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- root 309721 10337 0 09:53:39 ? 0:04 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-sitter:default.log
- root 7450 7450 0 Apr 13 ? 0:00 zsched
- postgres 12781 12771 0 Apr 13 ? 11:28 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- root 8046 8009 0 Apr 13 ? 6:01 /lib/svc/bin/svc.configd
- root 12117 8009 0 Apr 13 ? 0:00 sudo -u postgres node /opt/smartdc/manatee/node_modules/manatee/backupserver.js
- root 10311 8009 0 Apr 13 ? 0:41 /usr/sbin/rsyslogd -c5 -n
- root 10290 8009 0 Apr 13 ? 0:00 /usr/bin/ctrun -l child -o noorphan /opt/amon-agent/bin/amon-agent -v
- root 8566 8009 0 Apr 13 ? 0:02 /usr/lib/pfexecd
- root 9341 8009 0 Apr 13 ? 9:45 /usr/sbin/nscd
- netadm 8286 8009 0 Apr 13 ? 0:00 /lib/inet/ipmgmtd
- root 8635 8039 0 Apr 13 console 0:00 sulogin
- postgres 12488 12120 0 Apr 13 ? 11:05 node /opt/smartdc/manatee/node_modules/manatee/snapshotter.js -v -f etc/snapsho
- root 309729 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-snapshotter:defaul
- root 12120 8009 0 Apr 13 ? 0:00 sudo -u postgres node /opt/smartdc/manatee/node_modules/manatee/snapshotter.js
- root 10324 8009 0 Apr 13 ? 0:05 /usr/sbin/cron
- postgres 12778 12771 0 Apr 13 ? 94:35 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- root 12475 8009 0 Apr 13 ? 7:35 /opt/smartdc/config-agent/build/node/bin/node /opt/smartdc/config-agent/agent.j
- root 10295 10290 0 Apr 13 ? 0:00 /bin/bash /opt/amon-agent/bin/amon-agent -v
- root 10226 8009 0 Apr 13 ? 342:21 /opt/smartdc/waferlock/build/node/bin/node --abort-on-uncaught-exception /opt/s
- postgres 301167 12771 0 09:15:55 ? 0:10 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- postgres 12487 12117 0 Apr 13 ? 2:33 node /opt/smartdc/manatee/node_modules/manatee/backupserver.js -v -f etc/backup
- postgres 12771 12478 0 Apr 13 ? 141:13 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- root 442622 442621 0 20:53:12 pts/6 0:00 -bash
- root 12478 8009 0 Apr 13 ? 62:45 /opt/smartdc/manatee/build/node/bin/node --abort-on-uncaught-exception ./node_m
- root 309726 10337 0 09:53:39 ? 0:01 /usr/bin/tail -1cF -q /var/log/manatee/pg_dump.log
- postgres 12779 12771 0 Apr 13 ? 1:50 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- postgres 12775 12771 0 Apr 13 ? 17:09 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- postgres 12783 12771 0 Apr 13 ? 8:00 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
- root 309728 10337 0 09:53:39 ? 0:04 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-sitter:default.log
- root 309735 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-backupserver:defau
- root 442680 442622 0 20:53:30 pts/6 0:00 ps -Af
- root 442621 7450 0 20:53:12 pts/6 0:00 /usr/bin/login -z global -f root
- [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]#
- [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# cat $(svcs -L | grep sitter) | bunyan
- ...
- [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: got row
- row: {
- "timetz": "20:47:36.501566+00"
- }
- [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: query ended!
- [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: returned (err=null, timeElapsed=10001, timeOut=60000)
- [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: pg queue kicked: no requests queued
- [2022-10-18T20:47:46.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: entering
- [2022-10-18T20:47:46.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: got row
- row: {
- "timetz": "20:47:46.502777+00"
- }
- [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: query ended!
- [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: returned (err=null, timeElapsed=10001, timeOut=60000)
- [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: pg queue kicked: no requests queued
- [2022-10-18T20:47:56.504Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: entering
- [2022-10-18T20:47:56.504Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.query: entering. (query="select current_time;", nPrevRequests=0)
- [2022-10-18T20:47:56.505Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d:
- querying { text: 'select current_time;',
- values: undefined,
- rows: undefined,
- types: undefined,
- name: undefined,
- binary: undefined,
- stream: undefined,
- portal: '',
- callback: undefined,
- _fieldNames: [],
- _fieldConverters: [],
- _result:
- { command: null,
- rowCount: null,
- oid: null,
- rows: [],
- fields: [],
- _parsers: [],
- RowCtor: null },
- isPreparedStatement: false,
- _canceledDueToError: false,
- domain: null,
- _events: {},
- _maxListeners: 10 }
- --------------------------------------------------------------------------------------------------
- Manatee async
- [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# manatee-adm pg-status
- ROLE PEER PG REPL SENT FLUSH REPLAY LAG
- primary 485385ab ok sync 18/84FFEFD0 18/84FFEFD0 18/84FFD5B8 -
- sync 62b1b006 ok - - - - 0m00s
- async 6f436710 fail - - - - -
- warning: peer "62b1b006": downstream replication peer not connected
- [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# ps -Af
- ...
- root 759155 740346 0 20:42:58 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759161 740346 0 20:43:14 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759114 740346 0 20:42:09 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759478 740346 0 20:51:23 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759348 740346 0 20:48:07 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759431 740346 0 20:50:01 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759507 740346 0 20:52:12 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759105 740346 0 20:41:53 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759488 740346 0 20:51:39 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759463 740346 0 20:50:50 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759475 740346 0 20:51:07 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759540 740346 0 20:52:44 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759502 740346 0 20:51:55 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759445 740346 0 20:50:34 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759568 740346 0 20:53:33 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759519 740346 0 20:52:28 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759590 740346 0 20:54:06 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759555 740346 0 20:53:00 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759631 740346 0 20:54:54 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759595 740346 0 20:54:22 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759581 740346 0 20:53:49 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759611 740346 0 20:54:38 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759647 731527 0 20:55:02 pts/9 0:00 /usr/bin/login -z global -f root
- root 759648 759647 0 20:55:02 pts/9 0:00 -bash
- root 759664 740346 0 20:55:11 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
- root 759665 759648 0 20:55:11 pts/9 0:00 ps -Af
- [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]#
- [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# cat $(svcs -L | grep sitter) | bunyan
- ...
- [2022-10-18T19:48:48.801Z] ERROR: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: got pg client error (err.code=ECONNREFUSED)
- Error: connect ECONNREFUSED
- at errnoException (net.js:905:11)
- at Object.afterConnect [as oncomplete] (net.js:896:19)
- [2022-10-18T19:48:48.801Z] WARN: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: got err (err.code=ECONNREFUSED)
- Error: connect ECONNREFUSED
- at errnoException (net.js:905:11)
- at Object.afterConnect [as oncomplete] (net.js:896:19)
- [2022-10-18T19:48:48.802Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.health: failed
- VError: error whilst querying postgres: connect ECONNREFUSED
- at PostgresMgr._pgQueryFini (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2097:15)
- at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2048:22)
- at g (events.js:180:16)
- at emit (events.js:95:17)
- at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/client.js:170:19)
- at emit (events.js:95:17)
- at Socket.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/connection.js:59:10)
- at Socket.emit (events.js:95:17)
- at net.js:441:14
- at process._tickDomainCallback (node.js:502:13)
- Caused by: Error: connect ECONNREFUSED
- at errnoException (net.js:905:11)
- at Object.afterConnect [as oncomplete] (net.js:896:19)
- [2022-10-18T19:48:48.802Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.health: returned (timeElapsed=19113749, timeOut=60000)
- VError: error whilst querying postgres: connect ECONNREFUSED
- at PostgresMgr._pgQueryFini (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2097:15)
- at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2048:22)
- at g (events.js:180:16)
- at emit (events.js:95:17)
- at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/client.js:170:19)
- at emit (events.js:95:17)
- at Socket.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/connection.js:59:10)
- at Socket.emit (events.js:95:17)
- at net.js:441:14
- at process._tickDomainCallback (node.js:502:13)
- Caused by: Error: connect ECONNREFUSED
- at errnoException (net.js:905:11)
- at Object.afterConnect [as oncomplete] (net.js:896:19)
- [2022-10-18T19:48:48.803Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: pg queue kicked: no requests queued
- [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseQueryString
- [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running readBody
- [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseBody
- [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running restore
- [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response::send entered (code=200, headers={})
- body: {
- "restore": null
- }
- [2022-10-18T19:48:49.716Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response sent (res._events={}, res._maxListeners=10, res.output=[], res.outputEncodings=[], res.writable=true, res._last=false, res.chunkedEncoding=false, res.shouldKeepAlive=true, res.useChunkedEncodingByDefault=true, res.sendDate=true, res._headerSent=true, res._hasBody=true, res._trailer="", res.finished=true, res._hangupClose=false, res.socket=null, res.connection=null, res.log=[Circular], res._time=1666122529715, res.formatters={}, res.req=[Circular], res.serverName=restify, res._data={"restore":null})
- HTTP/1.1 200 OK
- --
- res.domain: {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "members": [
- {
- "_readableState": {
- "highWaterMark": 16384,
- "buffer": [],
- "length": 0,
- "pipes": null,
- "pipesCount": 0,
- "flowing": false,
- "ended": true,
- "endEmitted": false,
- "reading": false,
- "calledRead": true,
- "sync": true,
- "needReadable": false,
- "emittedReadable": false,
- "readableListening": false,
- "objectMode": false,
- "defaultEncoding": "utf8",
- "ranOut": false,
- "awaitDrain": 0,
- "readingMore": false,
- "decoder": null,
- "encoding": null
- },
- "readable": true,
- "domain": "[Circular]",
- "_events": {},
- "_maxListeners": 10,
- "socket": {
- "_connecting": false,
- "_handle": {
- "fd": 15,
- "writeQueueSize": 0,
- "owner": "[Circular]",
- "reading": true
- },
- "_readableState": {
- "highWaterMark": 16384,
- "buffer": [],
- "length": 0,
- "pipes": null,
- "pipesCount": 0,
- "flowing": false,
- "ended": false,
- "endEmitted": false,
- "reading": true,
- "calledRead": true,
- "sync": false,
- "needReadable": true,
- "emittedReadable": false,
- "readableListening": false,
- "objectMode": false,
- "defaultEncoding": "utf8",
- "ranOut": false,
- "awaitDrain": 0,
- "readingMore": false,
- "decoder": null,
- "encoding": null
- },
- "readable": true,
- "domain": null,
- "_events": {
- "drain": [
- null,
- null
- ],
- "close": [
- null
- ]
- },
- "_maxListeners": 10,
- "_writableState": {
- "highWaterMark": 16384,
- "objectMode": false,
- "needDrain": false,
- "ending": false,
- "ended": false,
- "finished": false,
- "decodeStrings": false,
- "defaultEncoding": "utf8",
- "length": 0,
- "writing": false,
- "sync": false,
- "bufferProcessing": false,
- "writecb": null,
- "writelen": 0,
- "buffer": [],
- "errorEmitted": false
- },
- ^C
- [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# tail -f $(svcs -L | grep sitte) | bunyan
- [2022-10-18T21:04:24.133Z] DEBUG: manatee-sitter/cluster/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: pg: enabling
- [2022-10-18T21:04:24.133Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.start: entering
- [2022-10-18T21:04:24.133Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: transitioning to standby mode (op="standby transition", primaryUrl=tcp://[email protected]:5432/postgres, backupUrl=http://10.25.0.10:12345)
- [2022-10-18T21:04:24.133Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: stop postgres (op="standby transition", primaryUrl=tcp://[email protected]:5432/postgres, backupUrl=http://10.25.0.10:12345)
- [2022-10-18T21:04:24.134Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.stop: entering
- [2022-10-18T21:04:24.134Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.stop: exiting, postgres handle DNE, was pg started by another process? (postgresHandle=null, datadir=/manatee/pg/data)
- [2022-10-18T21:04:24.134Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: mounting dataset (zfs_op="mount dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.134Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: check if ZFS dataset "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee" exists (zfs_op="mount dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.134Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: exec zfs start (zfs_op="mount dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- --
- argv: [
- "list",
- "-Hp",
- "-o",
- "name"
- ]
- [2022-10-18T21:04:24.216Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: exec zfs end (zfs_op="mount dataset", err=null)
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- --
- argv: [
- "list",
- "-Hp",
- "-o",
- "name"
- ]
- --
- info: {
- "error": null,
- "status": 0,
- "signal": null,
- "stdout": "zones\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data\n",
- "stderr": ""
- }
- [2022-10-18T21:04:24.216Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: dataset does not exist, not creating (zfs_op="mount dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.216Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: dataset does not exist; need to restore (op="standby transition", primaryUrl=tcp://[email protected]:5432/postgres, backupUrl=http://10.25.0.10:12345)
- [2022-10-18T21:04:24.217Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: restoring database from upstream peer (op="standby transition", primaryUrl=tcp://[email protected]:5432/postgres, backupUrl=http://10.25.0.10:12345)
- zfsClientCfg: {
- "dataset": "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee",
- "parentDataset": "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data",
- "snapshotDir": "/manatee/pg/.zfs/snapshot/",
- "zfsHost": "10.25.0.44",
- "zfsPort": 1234,
- "pollInterval": 1000,
- "zfsPath": "/usr/sbin/zfs",
- "mountpoint": "/manatee/pg",
- "log": {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "_level": 10,
- "streams": [
- {
- "type": "stream",
- "stream": {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "fd": 1,
- "writable": true,
- "readable": false,
- "autoClose": false,
- "_type": "fs",
- "_isStdio": true
- },
- "closeOnExit": false,
- "level": 10,
- "raw": false
- }
- ],
- "serializers": {},
- "src": false,
- "fields": {
- "name": "manatee-sitter",
- "hostname": "6f436710-348b-400b-bdd7-f01a78f3d6bc",
- "pid": 740346
- },
- "haveNonRawStreams": true
- },
- "dbUser": "postgres"
- }
- [2022-10-18T21:04:24.217Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: ZFSClient.restore: entering (serverUrl=http://10.25.0.10:12345, pollInterval=1000)
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.218Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: isolating dataset (prefix=autorebuild, zfs_op="isolate dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.218Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: check if ZFS dataset "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee" exists (prefix=autorebuild, zfs_op="isolate dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.218Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: exec zfs start (prefix=autorebuild, zfs_op="isolate dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- --
- argv: [
- "list",
- "-Hp",
- "-o",
- "name"
- ]
- [2022-10-18T21:04:24.389Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: exec zfs end (prefix=autorebuild, zfs_op="isolate dataset", err=null)
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- --
- argv: [
- "list",
- "-Hp",
- "-o",
- "name"
- ]
- --
- info: {
- "error": null,
- "status": 0,
- "signal": null,
- "stdout": "zones\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data\n",
- "stderr": ""
- }
- [2022-10-18T21:04:24.390Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: dataset "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee" does not exist; not preserving (prefix=autorebuild, zfs_op="isolate dataset")
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.391Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: ZfsClient.restore: entering (serverUrl=http://10.25.0.10:12345, pollInterval=1000)
- dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.391Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: zfsClient._receive: starting zfs recv zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
- [2022-10-18T21:04:24.437Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: listening for zfs send on (port=1234, host=10.25.0.44)
- [2022-10-18T21:04:24.437Z] INFO: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: ZfsClient.postRestoreRequest: entering (zfsHost=10.25.0.44, zfsPort=1234, serverUrl=http://10.25.0.10:12345, pollInterval=1000)
- [2022-10-18T21:04:24.450Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseQueryString
- c[2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running readBody
- [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseBody
- [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running restore
- [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response::send entered (code=200, headers={})
- body: {
- "restore": null
- }
- [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response sent (res._events={}, res._maxListeners=10, res.output=[], res.outputEncodings=[], res.writable=true, res._last=false, res.chunkedEncoding=false, res.shouldKeepAlive=true, res.useChunkedEncodingByDefault=true, res.sendDate=true, res._headerSent=true, res._hasBody=true, res._trailer="", res.finished=true, res._hangupClose=false, res.socket=null, res.connection=null, res.log=[Circular], res._time=1666127064450, res.formatters={}, res.req=[Circular], res.serverName=restify, res._data={"restore":null})
- HTTP/1.1 200 OK
- --
- res.domain: {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "members": [
- {
- "_readableState": {
- "highWaterMark": 16384,
- "buffer": [],
- "length": 0,
- "pipes": null,
- "pipesCount": 0,
- "flowing": false,
- "ended": true,
- "endEmitted": false,
- "reading": false,
- "calledRead": true,
- "sync": true,
- "needReadable": false,
- "emittedReadable": false,
- "readableListening": false,
- "objectMode": false,
- "defaultEncoding": "utf8",
- "ranOut": false,
- "awaitDrain": 0,
- "readingMore": false,
- "decoder": null,
- "encoding": null
- },
- "readable": true,
- "domain": "[Circular]",
- "_events": {},
- "_maxListeners": 10,
- "socket": {
- "_connecting": false,
- "_handle": {
- "fd": 15,
- "writeQueueSize": 0,
- "owner": "[Circular]",
- "reading": true
- },
- "_readableState": {
- "highWaterMark": 16384,
- "buffer": [],
- "length": 0,
- "pipes": null,
- "pipesCount": 0,
- "flowing": false,
- "ended": false,
- "endEmitted": false,
- "reading": true,
- "calledRead": true,
- "sync": false,
- "needReadable": true,
- "emittedReadable": false,
- "readableListening": false,
- "objectMode": false,
- "defaultEncoding": "utf8",
- "ranOut": false,
- "awaitDrain": 0,
- "readingMore": false,
- "decoder": null,
- "encoding": null
- },
- "readable": true,
- "domain": null,
- "_events": {
- "drain": [
- null,
- null
- ],
- "close": [
- null
- ]
- },
- "_maxListeners": 10,
- "_writableState": {
- "highWaterMark": 16384,
- "objectMode": false,
- "needDrain": false,
- "ending": false,
- "ended": false,
- "finished": false,
- "decodeStrings": false,
- "defaultEncoding": "utf8",
- "length": 0,
- "writing": false,
- "sync": false,
- "bufferProcessing": false,
- "writecb": null,
- "writelen": 0,
- "buffer": [],
- "errorEmitted": false
- },
- "writable": true,
- "allowHalfOpen": true,
- "destroyed": false,
- "bytesRead": 5366865,
- "_bytesDispatched": 3351460,
- "_pendingData": null,
- "_pendingEncoding": "",
- "server": {
- "domain": null,
- "_events": {
- "connection": [
- null,
- null
- ],
- "clientError": [
- null,
- null
- ],
- "listening": [
- null
- ]
- },
- "_maxListeners": 10,
- "_connections": 1,
- "connections": 1,
- "_handle": {
- "fd": 12,
- "writeQueueSize": 0,
- "owner": "[Circular]"
- },
- "_usingSlaves": false,
- "_slaves": [],
- "allowHalfOpen": true,
- "httpAllowHalfOpen": false,
- "timeout": 120000,
- "_connectionKey": "4:0.0.0.0:5433"
- },
- "_idleTimeout": 120000,
- "_idlePrev": {
- "_idleNext": "[Circular]",
- "_idlePrev": {
- "_connecting": false,
- "_handle": {
- "fd": 13,
- "writeQueueSize": 0,
- "owner": "[Circular]",
- "reading": true
- },
- "_readableState": {
- "highWaterMark": 16384,
- "buffer": [],
- "length": 0,
- "pipes": null,
- "pipesCount": 0,
- "flowing": false,
- "ended": false,
- "endEmitted": false,
- "reading": true,
- "calledRead": true,
- "sync": false,
- "needReadable": true,
- "emittedReadable": false,
- "readableListening": false,
- "objectMode": false,
- "defaultEncoding": "utf8",
- "ranOut": false,
- "awaitDrain": 0,
- "readingMore": false,
- "decoder": null,
- "encoding": null
- },
- "readable": true,
- "domain": null,
- "_events": {
- "connect": [
- null
- ]
- },
- "_maxListeners": 10,
- "_writableState": {
- "highWaterMark": 16384,
- "objectMode": false,
- "needDrain": false,
- "ending": false,
- "ended": false,
- "finished": false,
- "decodeStrings": false,
- "defaultEncoding": "utf8",
- "length": 0,
- "writing": false,
- "sync": false,
- "bufferProcessing": false,
- "writecb": null,
- "writelen": 0,
- "buffer": [],
- "errorEmitted": false
- },
- "writable": true,
- "allowHalfOpen": false,
- "onend": null,
- "destroyed": false,
- "bytesRead": 37959,
- "_bytesDispatched": 22282,
- "_pendingData": null,
- "_pendingEncoding": "",
- "_consuming": true,
- "_idleTimeout": 13333,
- "_idleNext": "[Circular]",
- "_idleStart": 1666127056687,
- "_monotonicStartTime": 18237727458
- }
- },
- "_idleStart": 1666127064451,
- "_monotonicStartTime": 18237735223,
- "parser": {
- "_headers": [],
- "_url": "",
- "socket": "[Circular]",
- "incoming": null,
- "maxHeaderPairs": 2000
- },
- "_paused": false,
- "_httpMessage": null
- },
- "connection": "[Circular]",
- "httpVersion": "1.1",
- "complete": false,
- "headers": {
- "accept": "application/json",
- "user-agent": "restify/2.6.1 (ia32-sunos; v8/3.14.5.11; OpenSSL/1.0.1u) node/0.10.48",
- "accept-version": "*",
- "date": "Tue, 18 Oct 2022 21:04:24 GMT",
- "host": "10.25.0.44:5433",
- "connection": "keep-alive"
- },
- "trailers": {},
- "_pendings": [],
- "_pendingIndex": 0,
- "url": "/restore",
- "method": "GET",
- "statusCode": null,
- "client": "[Circular]",
- "_consuming": true,
- "_dumped": true,
- "httpVersionMajor": 1,
- "httpVersionMinor": 1,
- "upgrade": false,
- "log": {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "_isSimpleChild": true,
- "_level": 10,
- "streams": [
- {
- "type": "stream",
- "stream": {
- "domain": null,
- "_events": {},
- "_maxListeners": 10,
- "fd": 1,
- "writable": true,
- "readable": false,
- "autoClose": false,
- "_type": "fs",
- "_isStdio": true
- },
- "closeOnExit": false,
- "level": 10,
- "raw": false
- }
- ],
- "serializers": {},
- "src": false,
- "fields": {
- "name": "manatee-sitter",
- "hostname": "6f436710-348b-400b-bdd7-f01a78f3d6bc",
- "pid": 740346,
- "component": "StatusServer"
- },
- "haveNonRawStreams": true
- },
- "_time": 1666127064450,
- "_version": "*",
- "params": {},
- "context": "[Circular]",
- "route": {
- "path": "/restore",
- "method": "GET",
- "versions": [],
- "name": "getrestore"
- },
- "timers": [
- {
- "name": "parseQueryString",
- "time": [
- 0,
- 356863
- ]
- },
- {
- "name": "readBody",
- "time": [
- 0,
- 142528
- ]
- },
- {
- "name": "parseBody",
- "time": [
- 0,
- 96862
- ]
- }
- ],
- "_url": {
- "protocol": null,
- "slashes": null,
- "auth": null,
- "host": null,
- "port": null,
- "hostname": null,
- "hash": null,
- "search": null,
- "query": null,
- "pathname": "/restore",
- "path": "/restore",
- "href": "/restore"
- },
- "_query": {},
- "query": "[Circular]",
- "_clen": false,
- "_contentType": "application/octet-stream",
- "_negotiator": {
- "request": {
- "headers": {
- "accept": "application/json",
- "accept-encoding": "identity"
- }
- }
- }
- },
- "[Circular]"
- ]
- }
- --
- res._header: HTTP/1.1 200 OK
- Content-Type: application/json
- Content-Length: 16
- Date: Tue, 18 Oct 2022 21:04:24 GMT
- Connection: keep-alive
- --
- res.acceptable: [
- "application/json",
- "text/plain",
- "application/octet-stream",
- "application/javascript"
- ]
- --
- res.methods: [
- "GET"
- ]
- --
- res._body: {
- "restore": null
- }
- --
- res._headers: {
- "content-type": "application/json",
- "content-length": 16
- }
- --
- res._headerNames: {
- "content-type": "Content-Type",
- "content-length": "Content-Length"
- }
- ^C
Advertisement
Add Comment
Please, Sign In to add comment