tealpastebin

Triton - Manantee (primary, sync, async)

Oct 18th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.18 KB | None | 0 0
  1. --------------------------------------------------------------------------------------------------
  2. Manatee primary
  3.  
  4. [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# manatee-adm pg-status
  5. ROLE PEER PG REPL SENT FLUSH REPLAY LAG
  6. primary 485385ab ok sync 18/850350F0 18/850350F0 18/85034808 -
  7. sync 62b1b006 ok - - - - 0m11s
  8. async 6f436710 fail - - - - -
  9. warning: peer "62b1b006": downstream replication peer not connected
  10.  
  11. [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# ps -Af
  12. ...
  13. postgres 26621 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(59335) idle
  14. postgres 26678 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(64218) idle
  15. postgres 26593 26543 0 09:15:58 ? 0:05 postgres: moray moray 10.25.0.46(54592) idle
  16. postgres 26651 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(45624) idle
  17. postgres 26619 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(44859) idle
  18. postgres 26699 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(36137) idle
  19. postgres 27624 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(56120) idle
  20. postgres 27626 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(49673) idle
  21. postgres 27625 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(56964) idle
  22. postgres 26622 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(62636) idle
  23. postgres 27606 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(34137) idle
  24. postgres 27611 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(36875) idle
  25. postgres 27613 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(50951) idle
  26. postgres 26691 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.45(43148) idle
  27. postgres 26680 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(57386) idle
  28. postgres 27620 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(49521) idle
  29. postgres 26618 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(51612) idle
  30. postgres 27616 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(36670) idle
  31. postgres 26589 26543 0 09:15:58 ? 0:05 postgres: moray moray 10.25.0.46(62137) idle
  32. postgres 27595 26543 0 09:17:21 ? 0:05 postgres: moray moray 10.25.0.11(47248) idle
  33. postgres 26627 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(32852) idle
  34. postgres 26602 26543 0 09:15:59 ? 0:04 postgres: moray moray 10.25.0.46(36399) idle
  35. postgres 26690 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(34718) idle
  36. postgres 26689 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.46(61991) idle
  37. postgres 26692 26543 0 09:15:59 ? 0:05 postgres: moray moray 10.25.0.45(57601) idle
  38. postgres 27596 26543 0 09:17:21 ? 0:04 postgres: moray moray 10.25.0.11(61951) idle
  39.  
  40. [root@485385ab-758d-4bca-b412-d03df049f052 (zeal:manatee0) ~]# cat $(svcs -L | grep sitter) | bunyan
  41. ...
  42. [2022-10-18T20:42:42.962Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
  43. row: {
  44. "timetz": "20:42:42.962376+00"
  45. }
  46. [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
  47. [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)
  48. [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
  49. [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
  50. [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)
  51. [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
  52. querying { text: 'select current_time;',
  53. values: undefined,
  54. rows: undefined,
  55. types: undefined,
  56. name: undefined,
  57. binary: undefined,
  58. stream: undefined,
  59. portal: '',
  60. callback: undefined,
  61. _fieldNames: [],
  62. _fieldConverters: [],
  63. _result:
  64. { command: null,
  65. rowCount: null,
  66. oid: null,
  67. rows: [],
  68. fields: [],
  69. _parsers: [],
  70. RowCtor: null },
  71. isPreparedStatement: false,
  72. _canceledDueToError: false,
  73. domain: null,
  74. _events: {},
  75. _maxListeners: 10 }
  76. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
  77. row: {
  78. "timetz": "20:42:52.964588+00"
  79. }
  80. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
  81. [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)
  82. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
  83. [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
  84. [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)
  85. [2022-10-18T20:43:02.967Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
  86. querying { text: 'select current_time;',
  87. values: undefined,
  88. rows: undefined,
  89. types: undefined,
  90. name: undefined,
  91. binary: undefined,
  92. stream: undefined,
  93. portal: '',
  94. callback: undefined,
  95. _fieldNames: [],
  96. _fieldConverters: [],
  97. _result:
  98. { command: null,
  99. rowCount: null,
  100. oid: null,
  101. rows: [],
  102. fields: [],
  103. _parsers: [],
  104. RowCtor: null },
  105. isPreparedStatement: false,
  106. _canceledDueToError: false,
  107. domain: null,
  108. _events: {},
  109. _maxListeners: 10 }
  110.  
  111.  
  112. [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
  113. [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)
  114. [2022-10-18T20:42:42.963Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
  115. [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
  116. [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)
  117. [2022-10-18T20:42:52.964Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
  118. querying { text: 'select current_time;',
  119. values: undefined,
  120. rows: undefined,
  121. types: undefined,
  122. name: undefined,
  123. binary: undefined,
  124. stream: undefined,
  125. portal: '',
  126. callback: undefined,
  127. _fieldNames: [],
  128. _fieldConverters: [],
  129. _result:
  130. { command: null,
  131. rowCount: null,
  132. oid: null,
  133. rows: [],
  134. fields: [],
  135. _parsers: [],
  136. RowCtor: null },
  137. isPreparedStatement: false,
  138. _canceledDueToError: false,
  139. domain: null,
  140. _events: {},
  141. _maxListeners: 10 }
  142. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: got row
  143. row: {
  144. "timetz": "20:42:52.964588+00"
  145. }
  146. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: query ended!
  147. [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)
  148. [2022-10-18T20:42:52.965Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: pg queue kicked: no requests queued
  149. [2022-10-18T20:43:02.966Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052: PostgresMgr.health: entering
  150. [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)
  151. [2022-10-18T20:43:02.967Z] TRACE: manatee-sitter/PostgresMgr/26504 on 485385ab-758d-4bca-b412-d03df049f052:
  152. querying { text: 'select current_time;',
  153. values: undefined,
  154. rows: undefined,
  155. types: undefined,
  156. name: undefined,
  157. binary: undefined,
  158. stream: undefined,
  159. portal: '',
  160. callback: undefined,
  161. _fieldNames: [],
  162. _fieldConverters: [],
  163. _result:
  164. { command: null,
  165. rowCount: null,
  166. oid: null,
  167. rows: [],
  168. fields: [],
  169. _parsers: [],
  170. RowCtor: null },
  171. isPreparedStatement: false,
  172. _canceledDueToError: false,
  173. domain: null,
  174. _events: {},
  175. _maxListeners: 10 }
  176.  
  177. --------------------------------------------------------------------------------------------------
  178. Manatee sync
  179.  
  180. [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# manatee-adm pg-status
  181. ROLE PEER PG REPL SENT FLUSH REPLAY LAG
  182. primary 485385ab ok sync 18/850504A8 18/850504A8 18/8504E298 -
  183. sync 62b1b006 ok - - - - 0m07s
  184. async 6f436710 fail - - - - -
  185. warning: peer "62b1b006": downstream replication peer not connected
  186.  
  187. [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# ps -Af
  188. UID PID PPID C STIME TTY TIME CMD
  189. root 309733 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-registrar:default.log
  190. root 8641 8635 0 - ? 0:00 <defunct>
  191. root 8039 8009 0 Apr 13 ? 2:26 /lib/svc/bin/svc.startd
  192. nobody 12479 8009 0 Apr 13 ? 83:52 node main.js -f ./etc/config.json
  193. root 10337 10295 0 Apr 13 ? 86:19 /opt/amon-agent/build/node/bin/node /opt/amon-agent/main.js -v
  194. root 8009 7450 0 Apr 13 ? 0:22 /sbin/init
  195. postgres 12774 12771 0 Apr 13 ? 0:00 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  196. root 309721 10337 0 09:53:39 ? 0:04 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-sitter:default.log
  197. root 7450 7450 0 Apr 13 ? 0:00 zsched
  198. postgres 12781 12771 0 Apr 13 ? 11:28 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  199. root 8046 8009 0 Apr 13 ? 6:01 /lib/svc/bin/svc.configd
  200. root 12117 8009 0 Apr 13 ? 0:00 sudo -u postgres node /opt/smartdc/manatee/node_modules/manatee/backupserver.js
  201. root 10311 8009 0 Apr 13 ? 0:41 /usr/sbin/rsyslogd -c5 -n
  202. root 10290 8009 0 Apr 13 ? 0:00 /usr/bin/ctrun -l child -o noorphan /opt/amon-agent/bin/amon-agent -v
  203. root 8566 8009 0 Apr 13 ? 0:02 /usr/lib/pfexecd
  204. root 9341 8009 0 Apr 13 ? 9:45 /usr/sbin/nscd
  205. netadm 8286 8009 0 Apr 13 ? 0:00 /lib/inet/ipmgmtd
  206. root 8635 8039 0 Apr 13 console 0:00 sulogin
  207. postgres 12488 12120 0 Apr 13 ? 11:05 node /opt/smartdc/manatee/node_modules/manatee/snapshotter.js -v -f etc/snapsho
  208. root 309729 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-snapshotter:defaul
  209. root 12120 8009 0 Apr 13 ? 0:00 sudo -u postgres node /opt/smartdc/manatee/node_modules/manatee/snapshotter.js
  210. root 10324 8009 0 Apr 13 ? 0:05 /usr/sbin/cron
  211. postgres 12778 12771 0 Apr 13 ? 94:35 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  212. root 12475 8009 0 Apr 13 ? 7:35 /opt/smartdc/config-agent/build/node/bin/node /opt/smartdc/config-agent/agent.j
  213. root 10295 10290 0 Apr 13 ? 0:00 /bin/bash /opt/amon-agent/bin/amon-agent -v
  214. root 10226 8009 0 Apr 13 ? 342:21 /opt/smartdc/waferlock/build/node/bin/node --abort-on-uncaught-exception /opt/s
  215. postgres 301167 12771 0 09:15:55 ? 0:10 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  216. postgres 12487 12117 0 Apr 13 ? 2:33 node /opt/smartdc/manatee/node_modules/manatee/backupserver.js -v -f etc/backup
  217. postgres 12771 12478 0 Apr 13 ? 141:13 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  218. root 442622 442621 0 20:53:12 pts/6 0:00 -bash
  219. root 12478 8009 0 Apr 13 ? 62:45 /opt/smartdc/manatee/build/node/bin/node --abort-on-uncaught-exception ./node_m
  220. root 309726 10337 0 09:53:39 ? 0:01 /usr/bin/tail -1cF -q /var/log/manatee/pg_dump.log
  221. postgres 12779 12771 0 Apr 13 ? 1:50 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  222. postgres 12775 12771 0 Apr 13 ? 17:09 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  223. postgres 12783 12771 0 Apr 13 ? 8:00 /opt/postgresql/9.2.4/bin/postgres -D /manatee/pg/data
  224. root 309728 10337 0 09:53:39 ? 0:04 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-sitter:default.log
  225. root 309735 10337 0 09:53:39 ? 0:02 /usr/bin/tail -1cF -q /var/svc/log/manta-application-manatee-backupserver:defau
  226. root 442680 442622 0 20:53:30 pts/6 0:00 ps -Af
  227. root 442621 7450 0 20:53:12 pts/6 0:00 /usr/bin/login -z global -f root
  228. [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]#
  229.  
  230. [root@62b1b006-697b-4124-b1d6-dbb507aba40d (zeal:manatee1) ~]# cat $(svcs -L | grep sitter) | bunyan
  231. ...
  232. [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: got row
  233. row: {
  234. "timetz": "20:47:36.501566+00"
  235. }
  236. [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: query ended!
  237. [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)
  238. [2022-10-18T20:47:36.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: pg queue kicked: no requests queued
  239. [2022-10-18T20:47:46.502Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: entering
  240. [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)
  241. [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d:
  242. querying { text: 'select current_time;',
  243. values: undefined,
  244. rows: undefined,
  245. types: undefined,
  246. name: undefined,
  247. binary: undefined,
  248. stream: undefined,
  249. portal: '',
  250. callback: undefined,
  251. _fieldNames: [],
  252. _fieldConverters: [],
  253. _result:
  254. { command: null,
  255. rowCount: null,
  256. oid: null,
  257. rows: [],
  258. fields: [],
  259. _parsers: [],
  260. RowCtor: null },
  261. isPreparedStatement: false,
  262. _canceledDueToError: false,
  263. domain: null,
  264. _events: {},
  265. _maxListeners: 10 }
  266. [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: got row
  267. row: {
  268. "timetz": "20:47:46.502777+00"
  269. }
  270. [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: query ended!
  271. [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)
  272. [2022-10-18T20:47:46.503Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: pg queue kicked: no requests queued
  273. [2022-10-18T20:47:56.504Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d: PostgresMgr.health: entering
  274. [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)
  275. [2022-10-18T20:47:56.505Z] TRACE: manatee-sitter/PostgresMgr/12478 on 62b1b006-697b-4124-b1d6-dbb507aba40d:
  276. querying { text: 'select current_time;',
  277. values: undefined,
  278. rows: undefined,
  279. types: undefined,
  280. name: undefined,
  281. binary: undefined,
  282. stream: undefined,
  283. portal: '',
  284. callback: undefined,
  285. _fieldNames: [],
  286. _fieldConverters: [],
  287. _result:
  288. { command: null,
  289. rowCount: null,
  290. oid: null,
  291. rows: [],
  292. fields: [],
  293. _parsers: [],
  294. RowCtor: null },
  295. isPreparedStatement: false,
  296. _canceledDueToError: false,
  297. domain: null,
  298. _events: {},
  299. _maxListeners: 10 }
  300.  
  301. --------------------------------------------------------------------------------------------------
  302. Manatee async
  303.  
  304. [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# manatee-adm pg-status
  305. ROLE PEER PG REPL SENT FLUSH REPLAY LAG
  306. primary 485385ab ok sync 18/84FFEFD0 18/84FFEFD0 18/84FFD5B8 -
  307. sync 62b1b006 ok - - - - 0m00s
  308. async 6f436710 fail - - - - -
  309. warning: peer "62b1b006": downstream replication peer not connected
  310.  
  311. [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# ps -Af
  312. ...
  313. root 759155 740346 0 20:42:58 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  314. root 759161 740346 0 20:43:14 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  315. root 759114 740346 0 20:42:09 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  316. root 759478 740346 0 20:51:23 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  317. root 759348 740346 0 20:48:07 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  318. root 759431 740346 0 20:50:01 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  319. root 759507 740346 0 20:52:12 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  320. root 759105 740346 0 20:41:53 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  321. root 759488 740346 0 20:51:39 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  322. root 759463 740346 0 20:50:50 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  323. root 759475 740346 0 20:51:07 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  324. root 759540 740346 0 20:52:44 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  325. root 759502 740346 0 20:51:55 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  326. root 759445 740346 0 20:50:34 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  327. root 759568 740346 0 20:53:33 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  328. root 759519 740346 0 20:52:28 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  329. root 759590 740346 0 20:54:06 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  330. root 759555 740346 0 20:53:00 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  331. root 759631 740346 0 20:54:54 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  332. root 759595 740346 0 20:54:22 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  333. root 759581 740346 0 20:53:49 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  334. root 759611 740346 0 20:54:38 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  335. root 759647 731527 0 20:55:02 pts/9 0:00 /usr/bin/login -z global -f root
  336. root 759648 759647 0 20:55:02 pts/9 0:00 -bash
  337. root 759664 740346 0 20:55:11 ? 0:00 /usr/sbin/zfs recv -v -u zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manate
  338. root 759665 759648 0 20:55:11 pts/9 0:00 ps -Af
  339. [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]#
  340.  
  341. [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# cat $(svcs -L | grep sitter) | bunyan
  342. ...
  343. [2022-10-18T19:48:48.801Z] ERROR: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: got pg client error (err.code=ECONNREFUSED)
  344. Error: connect ECONNREFUSED
  345. at errnoException (net.js:905:11)
  346. at Object.afterConnect [as oncomplete] (net.js:896:19)
  347. [2022-10-18T19:48:48.801Z] WARN: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: got err (err.code=ECONNREFUSED)
  348. Error: connect ECONNREFUSED
  349. at errnoException (net.js:905:11)
  350. at Object.afterConnect [as oncomplete] (net.js:896:19)
  351. [2022-10-18T19:48:48.802Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.health: failed
  352. VError: error whilst querying postgres: connect ECONNREFUSED
  353. at PostgresMgr._pgQueryFini (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2097:15)
  354. at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2048:22)
  355. at g (events.js:180:16)
  356. at emit (events.js:95:17)
  357. at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/client.js:170:19)
  358. at emit (events.js:95:17)
  359. at Socket.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/connection.js:59:10)
  360. at Socket.emit (events.js:95:17)
  361. at net.js:441:14
  362. at process._tickDomainCallback (node.js:502:13)
  363. Caused by: Error: connect ECONNREFUSED
  364. at errnoException (net.js:905:11)
  365. at Object.afterConnect [as oncomplete] (net.js:896:19)
  366. [2022-10-18T19:48:48.802Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.health: returned (timeElapsed=19113749, timeOut=60000)
  367. VError: error whilst querying postgres: connect ECONNREFUSED
  368. at PostgresMgr._pgQueryFini (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2097:15)
  369. at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/lib/postgresMgr.js:2048:22)
  370. at g (events.js:180:16)
  371. at emit (events.js:95:17)
  372. at null.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/client.js:170:19)
  373. at emit (events.js:95:17)
  374. at Socket.<anonymous> (/opt/smartdc/manatee/node_modules/manatee/node_modules/pg/lib/connection.js:59:10)
  375. at Socket.emit (events.js:95:17)
  376. at net.js:441:14
  377. at process._tickDomainCallback (node.js:502:13)
  378. Caused by: Error: connect ECONNREFUSED
  379. at errnoException (net.js:905:11)
  380. at Object.afterConnect [as oncomplete] (net.js:896:19)
  381. [2022-10-18T19:48:48.803Z] TRACE: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: pg queue kicked: no requests queued
  382. [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseQueryString
  383. [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running readBody
  384. [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseBody
  385. [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running restore
  386. [2022-10-18T19:48:49.715Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response::send entered (code=200, headers={})
  387. body: {
  388. "restore": null
  389. }
  390. [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})
  391. HTTP/1.1 200 OK
  392. --
  393. res.domain: {
  394. "domain": null,
  395. "_events": {},
  396. "_maxListeners": 10,
  397. "members": [
  398. {
  399. "_readableState": {
  400. "highWaterMark": 16384,
  401. "buffer": [],
  402. "length": 0,
  403. "pipes": null,
  404. "pipesCount": 0,
  405. "flowing": false,
  406. "ended": true,
  407. "endEmitted": false,
  408. "reading": false,
  409. "calledRead": true,
  410. "sync": true,
  411. "needReadable": false,
  412. "emittedReadable": false,
  413. "readableListening": false,
  414. "objectMode": false,
  415. "defaultEncoding": "utf8",
  416. "ranOut": false,
  417. "awaitDrain": 0,
  418. "readingMore": false,
  419. "decoder": null,
  420. "encoding": null
  421. },
  422. "readable": true,
  423. "domain": "[Circular]",
  424. "_events": {},
  425. "_maxListeners": 10,
  426. "socket": {
  427. "_connecting": false,
  428. "_handle": {
  429. "fd": 15,
  430. "writeQueueSize": 0,
  431. "owner": "[Circular]",
  432. "reading": true
  433. },
  434. "_readableState": {
  435. "highWaterMark": 16384,
  436. "buffer": [],
  437. "length": 0,
  438. "pipes": null,
  439. "pipesCount": 0,
  440. "flowing": false,
  441. "ended": false,
  442. "endEmitted": false,
  443. "reading": true,
  444. "calledRead": true,
  445. "sync": false,
  446. "needReadable": true,
  447. "emittedReadable": false,
  448. "readableListening": false,
  449. "objectMode": false,
  450. "defaultEncoding": "utf8",
  451. "ranOut": false,
  452. "awaitDrain": 0,
  453. "readingMore": false,
  454. "decoder": null,
  455. "encoding": null
  456. },
  457. "readable": true,
  458. "domain": null,
  459. "_events": {
  460. "drain": [
  461. null,
  462. null
  463. ],
  464. "close": [
  465. null
  466. ]
  467. },
  468. "_maxListeners": 10,
  469. "_writableState": {
  470. "highWaterMark": 16384,
  471. "objectMode": false,
  472. "needDrain": false,
  473. "ending": false,
  474. "ended": false,
  475. "finished": false,
  476. "decodeStrings": false,
  477. "defaultEncoding": "utf8",
  478. "length": 0,
  479. "writing": false,
  480. "sync": false,
  481. "bufferProcessing": false,
  482. "writecb": null,
  483. "writelen": 0,
  484. "buffer": [],
  485. "errorEmitted": false
  486. },
  487. ^C
  488.  
  489. [root@6f436710-348b-400b-bdd7-f01a78f3d6bc (zeal:manatee2) ~]# tail -f $(svcs -L | grep sitte) | bunyan
  490.  
  491. [2022-10-18T21:04:24.133Z] DEBUG: manatee-sitter/cluster/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: pg: enabling
  492. [2022-10-18T21:04:24.133Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.start: entering
  493. [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)
  494. [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)
  495. [2022-10-18T21:04:24.134Z] INFO: manatee-sitter/PostgresMgr/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: PostgresMgr.stop: entering
  496. [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)
  497. [2022-10-18T21:04:24.134Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: mounting dataset (zfs_op="mount dataset")
  498. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  499. [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")
  500. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  501. [2022-10-18T21:04:24.134Z] DEBUG: manatee-sitter/ZfsClient/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: exec zfs start (zfs_op="mount dataset")
  502. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  503. --
  504. argv: [
  505. "list",
  506. "-Hp",
  507. "-o",
  508. "name"
  509. ]
  510. [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)
  511. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  512. --
  513. argv: [
  514. "list",
  515. "-Hp",
  516. "-o",
  517. "name"
  518. ]
  519. --
  520. info: {
  521. "error": null,
  522. "status": 0,
  523. "signal": null,
  524. "stdout": "zones\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data\n",
  525. "stderr": ""
  526. }
  527. [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")
  528. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  529. [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)
  530. [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)
  531. zfsClientCfg: {
  532. "dataset": "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee",
  533. "parentDataset": "zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data",
  534. "snapshotDir": "/manatee/pg/.zfs/snapshot/",
  535. "zfsHost": "10.25.0.44",
  536. "zfsPort": 1234,
  537. "pollInterval": 1000,
  538. "zfsPath": "/usr/sbin/zfs",
  539. "mountpoint": "/manatee/pg",
  540. "log": {
  541. "domain": null,
  542. "_events": {},
  543. "_maxListeners": 10,
  544. "_level": 10,
  545. "streams": [
  546. {
  547. "type": "stream",
  548. "stream": {
  549. "domain": null,
  550. "_events": {},
  551. "_maxListeners": 10,
  552. "fd": 1,
  553. "writable": true,
  554. "readable": false,
  555. "autoClose": false,
  556. "_type": "fs",
  557. "_isStdio": true
  558. },
  559. "closeOnExit": false,
  560. "level": 10,
  561. "raw": false
  562. }
  563. ],
  564. "serializers": {},
  565. "src": false,
  566. "fields": {
  567. "name": "manatee-sitter",
  568. "hostname": "6f436710-348b-400b-bdd7-f01a78f3d6bc",
  569. "pid": 740346
  570. },
  571. "haveNonRawStreams": true
  572. },
  573. "dbUser": "postgres"
  574. }
  575. [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)
  576. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  577. [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")
  578. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  579. [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")
  580. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  581. [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")
  582. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  583. --
  584. argv: [
  585. "list",
  586. "-Hp",
  587. "-o",
  588. "name"
  589. ]
  590. [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)
  591. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  592. --
  593. argv: [
  594. "list",
  595. "-Hp",
  596. "-o",
  597. "name"
  598. ]
  599. --
  600. info: {
  601. "error": null,
  602. "status": 0,
  603. "signal": null,
  604. "stdout": "zones\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc\nzones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data\n",
  605. "stderr": ""
  606. }
  607. [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")
  608. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  609. [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)
  610. dataset: zones/6f436710-348b-400b-bdd7-f01a78f3d6bc/data/manatee
  611. [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
  612. [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)
  613. [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)
  614. [2022-10-18T21:04:24.450Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseQueryString
  615. c[2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running readBody
  616. [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running parseBody
  617. [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: running restore
  618. [2022-10-18T21:04:24.451Z] TRACE: manatee-sitter/StatusServer/740346 on 6f436710-348b-400b-bdd7-f01a78f3d6bc: response::send entered (code=200, headers={})
  619. body: {
  620. "restore": null
  621. }
  622. [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})
  623. HTTP/1.1 200 OK
  624. --
  625. res.domain: {
  626. "domain": null,
  627. "_events": {},
  628. "_maxListeners": 10,
  629. "members": [
  630. {
  631. "_readableState": {
  632. "highWaterMark": 16384,
  633. "buffer": [],
  634. "length": 0,
  635. "pipes": null,
  636. "pipesCount": 0,
  637. "flowing": false,
  638. "ended": true,
  639. "endEmitted": false,
  640. "reading": false,
  641. "calledRead": true,
  642. "sync": true,
  643. "needReadable": false,
  644. "emittedReadable": false,
  645. "readableListening": false,
  646. "objectMode": false,
  647. "defaultEncoding": "utf8",
  648. "ranOut": false,
  649. "awaitDrain": 0,
  650. "readingMore": false,
  651. "decoder": null,
  652. "encoding": null
  653. },
  654. "readable": true,
  655. "domain": "[Circular]",
  656. "_events": {},
  657. "_maxListeners": 10,
  658. "socket": {
  659. "_connecting": false,
  660. "_handle": {
  661. "fd": 15,
  662. "writeQueueSize": 0,
  663. "owner": "[Circular]",
  664. "reading": true
  665. },
  666. "_readableState": {
  667. "highWaterMark": 16384,
  668. "buffer": [],
  669. "length": 0,
  670. "pipes": null,
  671. "pipesCount": 0,
  672. "flowing": false,
  673. "ended": false,
  674. "endEmitted": false,
  675. "reading": true,
  676. "calledRead": true,
  677. "sync": false,
  678. "needReadable": true,
  679. "emittedReadable": false,
  680. "readableListening": false,
  681. "objectMode": false,
  682. "defaultEncoding": "utf8",
  683. "ranOut": false,
  684. "awaitDrain": 0,
  685. "readingMore": false,
  686. "decoder": null,
  687. "encoding": null
  688. },
  689. "readable": true,
  690. "domain": null,
  691. "_events": {
  692. "drain": [
  693. null,
  694. null
  695. ],
  696. "close": [
  697. null
  698. ]
  699. },
  700. "_maxListeners": 10,
  701. "_writableState": {
  702. "highWaterMark": 16384,
  703. "objectMode": false,
  704. "needDrain": false,
  705. "ending": false,
  706. "ended": false,
  707. "finished": false,
  708. "decodeStrings": false,
  709. "defaultEncoding": "utf8",
  710. "length": 0,
  711. "writing": false,
  712. "sync": false,
  713. "bufferProcessing": false,
  714. "writecb": null,
  715. "writelen": 0,
  716. "buffer": [],
  717. "errorEmitted": false
  718. },
  719. "writable": true,
  720. "allowHalfOpen": true,
  721. "destroyed": false,
  722. "bytesRead": 5366865,
  723. "_bytesDispatched": 3351460,
  724. "_pendingData": null,
  725. "_pendingEncoding": "",
  726. "server": {
  727. "domain": null,
  728. "_events": {
  729. "connection": [
  730. null,
  731. null
  732. ],
  733. "clientError": [
  734. null,
  735. null
  736. ],
  737. "listening": [
  738. null
  739. ]
  740. },
  741. "_maxListeners": 10,
  742. "_connections": 1,
  743. "connections": 1,
  744. "_handle": {
  745. "fd": 12,
  746. "writeQueueSize": 0,
  747. "owner": "[Circular]"
  748. },
  749. "_usingSlaves": false,
  750. "_slaves": [],
  751. "allowHalfOpen": true,
  752. "httpAllowHalfOpen": false,
  753. "timeout": 120000,
  754. "_connectionKey": "4:0.0.0.0:5433"
  755. },
  756. "_idleTimeout": 120000,
  757. "_idlePrev": {
  758. "_idleNext": "[Circular]",
  759. "_idlePrev": {
  760. "_connecting": false,
  761. "_handle": {
  762. "fd": 13,
  763. "writeQueueSize": 0,
  764. "owner": "[Circular]",
  765. "reading": true
  766. },
  767. "_readableState": {
  768. "highWaterMark": 16384,
  769. "buffer": [],
  770. "length": 0,
  771. "pipes": null,
  772. "pipesCount": 0,
  773. "flowing": false,
  774. "ended": false,
  775. "endEmitted": false,
  776. "reading": true,
  777. "calledRead": true,
  778. "sync": false,
  779. "needReadable": true,
  780. "emittedReadable": false,
  781. "readableListening": false,
  782. "objectMode": false,
  783. "defaultEncoding": "utf8",
  784. "ranOut": false,
  785. "awaitDrain": 0,
  786. "readingMore": false,
  787. "decoder": null,
  788. "encoding": null
  789. },
  790. "readable": true,
  791. "domain": null,
  792. "_events": {
  793. "connect": [
  794. null
  795. ]
  796. },
  797. "_maxListeners": 10,
  798. "_writableState": {
  799. "highWaterMark": 16384,
  800. "objectMode": false,
  801. "needDrain": false,
  802. "ending": false,
  803. "ended": false,
  804. "finished": false,
  805. "decodeStrings": false,
  806. "defaultEncoding": "utf8",
  807. "length": 0,
  808. "writing": false,
  809. "sync": false,
  810. "bufferProcessing": false,
  811. "writecb": null,
  812. "writelen": 0,
  813. "buffer": [],
  814. "errorEmitted": false
  815. },
  816. "writable": true,
  817. "allowHalfOpen": false,
  818. "onend": null,
  819. "destroyed": false,
  820. "bytesRead": 37959,
  821. "_bytesDispatched": 22282,
  822. "_pendingData": null,
  823. "_pendingEncoding": "",
  824. "_consuming": true,
  825. "_idleTimeout": 13333,
  826. "_idleNext": "[Circular]",
  827. "_idleStart": 1666127056687,
  828. "_monotonicStartTime": 18237727458
  829. }
  830. },
  831. "_idleStart": 1666127064451,
  832. "_monotonicStartTime": 18237735223,
  833. "parser": {
  834. "_headers": [],
  835. "_url": "",
  836. "socket": "[Circular]",
  837. "incoming": null,
  838. "maxHeaderPairs": 2000
  839. },
  840. "_paused": false,
  841. "_httpMessage": null
  842. },
  843. "connection": "[Circular]",
  844. "httpVersion": "1.1",
  845. "complete": false,
  846. "headers": {
  847. "accept": "application/json",
  848. "user-agent": "restify/2.6.1 (ia32-sunos; v8/3.14.5.11; OpenSSL/1.0.1u) node/0.10.48",
  849. "accept-version": "*",
  850. "date": "Tue, 18 Oct 2022 21:04:24 GMT",
  851. "host": "10.25.0.44:5433",
  852. "connection": "keep-alive"
  853. },
  854. "trailers": {},
  855. "_pendings": [],
  856. "_pendingIndex": 0,
  857. "url": "/restore",
  858. "method": "GET",
  859. "statusCode": null,
  860. "client": "[Circular]",
  861. "_consuming": true,
  862. "_dumped": true,
  863. "httpVersionMajor": 1,
  864. "httpVersionMinor": 1,
  865. "upgrade": false,
  866. "log": {
  867. "domain": null,
  868. "_events": {},
  869. "_maxListeners": 10,
  870. "_isSimpleChild": true,
  871. "_level": 10,
  872. "streams": [
  873. {
  874. "type": "stream",
  875. "stream": {
  876. "domain": null,
  877. "_events": {},
  878. "_maxListeners": 10,
  879. "fd": 1,
  880. "writable": true,
  881. "readable": false,
  882. "autoClose": false,
  883. "_type": "fs",
  884. "_isStdio": true
  885. },
  886. "closeOnExit": false,
  887. "level": 10,
  888. "raw": false
  889. }
  890. ],
  891. "serializers": {},
  892. "src": false,
  893. "fields": {
  894. "name": "manatee-sitter",
  895. "hostname": "6f436710-348b-400b-bdd7-f01a78f3d6bc",
  896. "pid": 740346,
  897. "component": "StatusServer"
  898. },
  899. "haveNonRawStreams": true
  900. },
  901. "_time": 1666127064450,
  902. "_version": "*",
  903. "params": {},
  904. "context": "[Circular]",
  905. "route": {
  906. "path": "/restore",
  907. "method": "GET",
  908. "versions": [],
  909. "name": "getrestore"
  910. },
  911. "timers": [
  912. {
  913. "name": "parseQueryString",
  914. "time": [
  915. 0,
  916. 356863
  917. ]
  918. },
  919. {
  920. "name": "readBody",
  921. "time": [
  922. 0,
  923. 142528
  924. ]
  925. },
  926. {
  927. "name": "parseBody",
  928. "time": [
  929. 0,
  930. 96862
  931. ]
  932. }
  933. ],
  934. "_url": {
  935. "protocol": null,
  936. "slashes": null,
  937. "auth": null,
  938. "host": null,
  939. "port": null,
  940. "hostname": null,
  941. "hash": null,
  942. "search": null,
  943. "query": null,
  944. "pathname": "/restore",
  945. "path": "/restore",
  946. "href": "/restore"
  947. },
  948. "_query": {},
  949. "query": "[Circular]",
  950. "_clen": false,
  951. "_contentType": "application/octet-stream",
  952. "_negotiator": {
  953. "request": {
  954. "headers": {
  955. "accept": "application/json",
  956. "accept-encoding": "identity"
  957. }
  958. }
  959. }
  960. },
  961. "[Circular]"
  962. ]
  963. }
  964. --
  965. res._header: HTTP/1.1 200 OK
  966. Content-Type: application/json
  967. Content-Length: 16
  968. Date: Tue, 18 Oct 2022 21:04:24 GMT
  969. Connection: keep-alive
  970.  
  971.  
  972. --
  973. res.acceptable: [
  974. "application/json",
  975. "text/plain",
  976. "application/octet-stream",
  977. "application/javascript"
  978. ]
  979. --
  980. res.methods: [
  981. "GET"
  982. ]
  983. --
  984. res._body: {
  985. "restore": null
  986. }
  987. --
  988. res._headers: {
  989. "content-type": "application/json",
  990. "content-length": 16
  991. }
  992. --
  993. res._headerNames: {
  994. "content-type": "Content-Type",
  995. "content-length": "Content-Length"
  996. }
  997. ^C
Advertisement
Add Comment
Please, Sign In to add comment