Skip to content

Instantly share code, notes, and snippets.

View n1mmy's full-sized avatar

Nick Martin n1mmy

View GitHub Profile
@n1mmy
n1mmy / Meteor-Software-CLA
Last active October 2, 2019 20:27
Contributor License Agreement for Meteor Software
Contributing to Meteor
Thank you for contributing code to the Meteor project! Like many open source projects, we
need you to enter into a contributor license agreement with us before we can merge in your
changes.
In brief, by submitting your code to the Meteor project, you are granting us a right to use that
code under the terms of the below Agreement, including the right for us to make available,
grant rights to use and provide your code to others. You are also certifying that you wrote the
code, and that you are allowed to license it to us. You are not giving up your ownership in your
{
"data": {
"service": {
"trace": {
"protobufJSON": "{\n \"end_time\": {\n \"seconds\": \"1477437892\",\n \"nanos\": 27000000\n },\n \"start_time\": {\n \"seconds\": \"1477437891\",\n \"nanos\": 856000000\n },\n \"signature\": \"query getAppActivityFeed($hostname:String!,$limit:Int) {app(hostname:$hostname) {activities(limit:$limit) {_id appHostname appId appOwnerId certificateId containerCount containerId containerTypeId containerTypeName createdAt newOwnerId newOwnerName oldContainerCount oldContainerTypeId oldContainerTypeName oldOwnerId oldOwnerName previousTypeContainerCount previousVersionContainerCount production redeploy type userId userName versionId} activityCount}}\",\n \"details\": {\n \"variables\": {\n \"hostname\": \"galaxymeet+eeyorecom\",\n \"limit\": \"1w==\"\n },\n \"raw_query\": \"query getAppActivityFeed($hostname: String!, $limit: Int) {\\n app(hostname: $hostname) {\\n activities(limit: $limit) {\\n _id\\n type\\n

Keybase proof

I hereby claim:

  • I am n1mmy on github.
  • I am n1mmy (https://keybase.io/n1mmy) on keybase.
  • I have a public key ASDy63zhIMgM3MhnR7A-tdKqk0kxTC8ZurJGsHSldf3bKAo

To claim this, I am signing this object:

@n1mmy
n1mmy / first one
Created September 11, 2013 03:28
A couple weird handoffs. grep for '\[rs' in logs
A1:
Thu Sep 5 15:29:32.627 [rsHealthPoll] DBClientCursor::init call() failed
Thu Sep 5 15:29:32.627 [rsHealthPoll] replSet info production-db-a3.meteor.io:27017 is down (or slow to respond): DBClientBase::findN: transport error: production-db-a3.meteor.io:27017 ns: local.$cmd query: { authenticate: 1, nonce: "9c9be1e5e9c0bbe2", user: "__system", key: "f873bc40f50502691bd3c387c744742c" }
Thu Sep 5 15:29:32.627 [rsHealthPoll] replSet member production-db-a3.meteor.io:27017 is now in state DOWN
Thu Sep 5 15:29:32.629 [rsMgr] not electing self, production-db-a2.meteor.io:27017 would veto with 'production-db-a1.meteor.io:27017 is trying to elect itself but production-db-a3.meteor.io:27017 is already primary and more up-to-date'
Thu Sep 5 15:29:37.503 [rsMgr] not electing self, production-db-a2.meteor.io:27017 would veto with 'production-db-a1.meteor.io:27017 is trying to elect itself but production-db-a3.meteor.io:27017 is already primary and more up-to-date'
Thu Sep 5 15:29:43.508 [rsMgr] not electing sel
@n1mmy
n1mmy / exhibit1
Last active December 22, 2015 12:19
logs for various mongo issues
Exhibit 1: two different primary handoffs. Only the '[rs*]' logs.
Thu Aug 8 14:30:32.395 [rsHealthPoll] DBClientCursor::init call() failed
Thu Aug 8 14:30:32.395 [rsHealthPoll] replSet info production-db-a3.meteor.io:27017 is down (or slow to respond): DBClientBase::findN: transport error: production-db-a3.meteor.i
o:27017 ns: local.$cmd query: { authenticate: 1, nonce: "dffead39ddc33b3d", user: "__system", key: "68664b9158f9708b8f5531498803cc1b" }
Thu Aug 8 14:30:32.395 [rsHealthPoll] replSet member production-db-a3.meteor.io:27017 is now in state DOWN
Thu Aug 8 14:30:32.397 [rsMgr] replSet info electSelf 4
Thu Aug 8 14:30:32.399 [rsBackgroundSync] Socket recv() timeout 54.235.126.126:27017
Thu Aug 8 14:30:32.399 [rsSyncNotifier] Socket recv() timeout 54.235.126.126:27017
Thu Aug 8 14:30:32.399 [rsBackgroundSync] SocketException: remote: 54.235.126.126:27017 error: 9001 socket exception [3] server [54.235.126.126:27017]
@n1mmy
n1mmy / foo.html
Created December 7, 2012 03:46
Meteor issue #458
<head>
<title>ie9bug_test</title>
</head>
<body>
{{> hello}}
</body>
<template name="hello">
<h1>IE9 bug</h1>