I hereby claim:
- I am josephglanville on github.
- I am josephglanville (https://keybase.io/josephglanville) on keybase.
- I have a public key ASAfQCkcrZrfBRdgMV7uis1HK-DhzarGYfjSGKbOfs_s9wo
To claim this, I am signing this object:
{ | |
"type": "record", | |
"name": "SomeAvroDatum", | |
"namespace": "org.apache.druid.data.input", | |
"fields": [ | |
{ | |
"name": "timestamp", | |
"type": "long" | |
}, | |
{ |
package logical | |
import ( | |
"github.com/shopspring/decimal" | |
"math" | |
"math/big" | |
) | |
func EncodeDecimal(d decimal.Decimal, scale int32) []byte { | |
unscaled := d.Coefficient() |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Car: | |
def __init__(self, wheels, color, speed): | |
self.wheels = wheels | |
self.color = color | |
self.speed = speed | |
self.distance = 0 | |
def drive(self, how_long): | |
self.distance = self.distance + (self.speed * how_long) |
^[[B2016-09-12 19:18:53.274 UTC DEBUG: postgres: PostmasterMain: initial environment dump: | |
2016-09-12 19:18:53.274 UTC DEBUG: ----------------------------------------- | |
2016-09-12 19:18:53.274 UTC DEBUG: PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj | |
2016-09-12 19:18:53.274 UTC DEBUG: PG_GRANDPARENT_PID=10560 | |
2016-09-12 19:18:53.274 UTC DEBUG: PGLOCALEDIR=/usr/share/locale | |
2016-09-12 19:18:53.274 UTC DEBUG: PGSYSCONFDIR=/etc/postgresql-common | |
2016-09-12 19:18:53.274 UTC DEBUG: PWD=/var/lib/postgresql | |
2016-09-12 19:18:53.274 UTC DEBUG: PGDATA=/pgdata | |
2016-09-12 19:18:53.275 UTC DEBUG: LC_COLLATE=C | |
2016-09-12 19:18:53.275 UTC DEBUG: LC_CTYPE=C |
diff --git a/sql/log.cc b/sql/log.cc | |
index 7efec98..b77a6b3 100644 | |
--- a/sql/log.cc | |
+++ b/sql/log.cc | |
@@ -7712,7 +7712,7 @@ MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader) | |
last= current->next == NULL; | |
if (!current->error && | |
RUN_HOOK(binlog_storage, after_sync, | |
- (current->thd, log_file_name, | |
+ (current->thd, current->cache_mngr->last_commit_pos_file, |
Download scripts to directory and execute in this order:
The trigger script will download a smallish dump from the Wikimedia dataset which is large enough to trigger tha hang reliably with the smaller binlog settings.
The files are prefixed with the server they originate from, either master or slave.