Skip to content

Instantly share code, notes, and snippets.

@trentm
Created January 3, 2020 21:54
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 trentm/4c14f9d4fcca00c71c1db0438231a1cf to your computer and use it in GitHub Desktop.
Save trentm/4c14f9d4fcca00c71c1db0438231a1cf to your computer and use it in GitHub Desktop.
[root@832caf05 (buckets-mdapi) /opt/smartdc/buckets-mdapi]$ ./bin/schema-manager
INFO: Running "/usr/sbin/mdata-get SAPI_URL" ...
Jan 03 21:54:16.006 INFO sapi_url:http://sapi.nightly-2.joyent.us, build-id: 0.1.0
INFO: Running "/usr/bin/zonename" ...
Jan 03 21:54:16.275 INFO pnode argument to buckets-mdplacement:tcp://1.buckets-mdapi.nightly.joyent.us:2030, build-id: 0.1.0
Jan 03 21:54:16.275 INFO buckets-mdplacement endpoint:buckets-mdplacement.nightly.joyent.us:2020, build-id: 0.1.0
Jan 03 21:54:16.298 DEBG starting decoherence task, interval 300 seconds, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.298 DEBG starting connection health task, interval 30 seconds, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.298 DEBG run() method entered, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.303 INFO run(): starting runtime, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.305 INFO Connecting to ZooKeeper cluster, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.308 INFO Connected to ZooKeeper cluster, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.308 INFO Getting data, last_backend: Mutex { data: None }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.309 INFO got data, data: [123, 34, 103, 101, 110, 101, 114, 97, 116, 105, 111, 110, 34, 58, 49, 44, 34, 112, 114, 105, 109, 97, 114, 121, 34, 58, 123, 34, 105, 100, 34, 58, 34, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 49, 58, 53, 52, 51, 50, 58, 49, 50, 51, 52, 53, 34, 44, 34, 105, 112, 34, 58, 34, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 49, 34, 44, 34, 112, 103, 85, 114, 108, 34, 58, 34, 116, 99, 112, 58, 47, 47, 112, 111, 115, 116, 103, 114, 101, 115, 64, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 49, 58, 53, 52, 51, 50, 47, 112, 111, 115, 116, 103, 114, 101, 115, 34, 44, 34, 122, 111, 110, 101, 73, 100, 34, 58, 34, 56, 100, 51, 48, 52, 54, 57, 97, 45, 52, 57, 49, 50, 45, 52, 102, 98, 56, 45, 97, 57, 55, 99, 45, 53, 53, 55, 52, 55, 50, 101, 102, 100, 99, 57, 52, 34, 44, 34, 98, 97, 99, 107, 117, 112, 85, 114, 108, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 49, 58, 49, 50, 51, 52, 53, 34, 125, 44, 34, 105, 110, 105, 116, 87, 97, 108, 34, 58, 34, 48, 47, 48, 48, 48, 48, 48, 48, 48, 48, 34, 44, 34, 100, 101, 112, 111, 115, 101, 100, 34, 58, 91, 93, 44, 34, 115, 121, 110, 99, 34, 58, 123, 34, 105, 100, 34, 58, 34, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 50, 58, 53, 52, 51, 50, 58, 49, 50, 51, 52, 53, 34, 44, 34, 122, 111, 110, 101, 73, 100, 34, 58, 34, 102, 54, 102, 53, 55, 50, 53, 49, 45, 48, 98, 55, 49, 45, 52, 99, 99, 55, 45, 56, 97, 56, 55, 45, 55, 54, 51, 54, 101, 52, 50, 99, 102, 102, 50, 52, 34, 44, 34, 105, 112, 34, 58, 34, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 50, 34, 44, 34, 112, 103, 85, 114, 108, 34, 58, 34, 116, 99, 112, 58, 47, 47, 112, 111, 115, 116, 103, 114, 101, 115, 64, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 50, 58, 53, 52, 51, 50, 47, 112, 111, 115, 116, 103, 114, 101, 115, 34, 44, 34, 98, 97, 99, 107, 117, 112, 85, 114, 108, 34, 58, 34, 104, 116, 116, 112, 58, 47, 47, 49, 55, 50, 46, 50, 55, 46, 50, 46, 50, 50, 58, 49, 50, 51, 52, 53, 34, 125, 44, 34, 97, 115, 121, 110, 99, 34, 58, 91, 93, 44, 34, 102, 114, 101, 101, 122, 101, 34, 58, 123, 34, 100, 97, 116, 101, 34, 58, 34, 50, 48, 50, 48, 45, 48, 49, 45, 48, 51, 84, 48, 53, 58, 52, 54, 58, 49, 54, 46, 48, 50, 52, 90, 34, 44, 34, 114, 101, 97, 115, 111, 110, 34, 58, 34, 119, 97, 105, 116, 105, 110, 103, 32, 102, 111, 114, 32, 77, 65, 78, 84, 65, 45, 52, 49, 50, 56, 44, 32, 77, 65, 78, 84, 65, 45, 52, 51, 56, 50, 34, 125, 125], last_backend: Mutex { data: None }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.309 DEBG process_value() entered, last_backend: Mutex { data: None }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.310 INFO New backend found; sending to connection pool, backend: Backend { name: "172.27.2.21:5432", address: V4(172.27.2.21), port: 5432 }, last_backend: Mutex { data: <locked> }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.310 DEBG process_value() returned successfully, last_backend: Mutex { data: <locked> }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.310 INFO Adding backend VRNB5UlEVd/itDm4ZhReWlX0NmI=, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.310 INFO Watching for change, last_backend: Mutex { data: Some(BackendKey("VRNB5UlEVd/itDm4ZhReWlX0NmI=")) }, delay: 0ns, curr_event: WatchedEvent { event_type: NodeDataChanged, keeper_state: SyncConnected, path: "" }, component: ManateePrimaryResolver, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG rebalance var true, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG Running rebalancer on 0 connections..., component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 INFO Backend count: 1, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 INFO Backend key: VRNB5UlEVd/itDm4ZhReWlX0NmI=, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG New connection count: 1 Old Connection Count: 0, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG Connection rebalance completed: Ok(
Some(
{
BackendKey(
"VRNB5UlEVd/itDm4ZhReWlX0NmI="
): ConnectionCount(
1
)
}
)
), component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG Adding new connections, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG Unwanted connection count: 0, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.330 DEBG Net total connections: 0, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.331 DEBG Trying to add more connections: 0, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.331 DEBG attempting to connect with retry..., component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.350 INFO Added connection for backend VRNB5UlEVd/itDm4ZhReWlX0NmI=, component: CueballConnectionPool, build-id: 0.1.0
Jan 03 21:54:16.350 INFO Found idle connection for backend VRNB5UlEVd/itDm4ZhReWlX0NmI=, component: CueballConnectionPool, build-id: 0.1.0
Error: Custom { kind: Other, error: StringError("Invalid data response received from getvnodes call: the vnode data was not represented as JSON strings") }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment