Under load testing, I have noticed I get “Transaction is too old” as an error. It looks to be a GRPC error.
The first two lines below are two of many, I just pasted the last two. Under even higher load my dgraph crashed from running out of memory.
I’m running a single host dgraph server with an rd5.large AWS instance over a single grpc connection.
Does anyone know exactly why this happens?
E0417 22:12:32.844160 3550 draft.go:391] Applying proposal. Error: Transaction is too old. Proposal: "mutations:<group_id:1 start_ts:2904174 edges:<entity:88622 attr:\"links\" value_id:86341 > edges:<entity:88622 attr:\"_predicate_\" value:\"links\" > > key:\"01-8954377150175161614\" index:720584 ".
E0417 22:12:32.844526 3550 draft.go:391] Applying proposal. Error: Transaction is too old. Proposal: "mutations:<group_id:1 start_ts:2887269 edges:<entity:88309 attr:\"links\" value_id:86338 > edges:<entity:88309 attr:\"_predicate_\" value:\"links\" > > key:\"01-4900552890111969553\" index:720585 ".
I0417 22:12:33.128614 3550 node.go:85] Rolling up Created batch of size: 1.7 MB in 24.643143ms.
I0417 22:12:33.129058 3550 node.go:85] Rolling up Sent 199947 keys
I0417 22:12:33.138098 3550 draft.go:838] Rolled up 199947 keys. Done
I0417 22:12:33.138119 3550 draft.go:353] List rollup at Ts 2911602: OK.
I0417 22:12:34.154705 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:12:34.155571 3550 draft.go:931] Found 7 old transactions. Acting to abort them.
I0417 22:12:34.155670 3550 draft.go:934] abortOldTransactions for 7 txns. Error: No connection exists
I0417 22:13:04.153890 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:13:04.154613 3550 draft.go:931] Found 60 old transactions. Acting to abort them.
I0417 22:13:04.154633 3550 draft.go:934] abortOldTransactions for 60 txns. Error: No connection exists
I0417 22:13:34.155942 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:13:34.156661 3550 draft.go:931] Found 420 old transactions. Acting to abort them.
I0417 22:13:34.156684 3550 draft.go:934] abortOldTransactions for 420 txns. Error: No connection exists
I0417 22:14:05.393809 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:14:05.395582 3550 draft.go:931] Found 2723 old transactions. Acting to abort them.
I0417 22:14:05.395608 3550 draft.go:934] abortOldTransactions for 2723 txns. Error: No connection exists
I0417 22:14:34.156695 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:14:34.157500 3550 draft.go:931] Found 2764 old transactions. Acting to abort them.
I0417 22:14:34.157523 3550 draft.go:934] abortOldTransactions for 2764 txns. Error: No connection exists
I0417 22:15:04.244868 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:15:04.245938 3550 draft.go:931] Found 2764 old transactions. Acting to abort them.
I0417 22:15:04.245962 3550 draft.go:934] abortOldTransactions for 2764 txns. Error: No connection exists
I0417 22:15:34.160981 3550 draft.go:1042] Skipping snapshot at index: 697222. Insufficient discard entries: 0. MinPendingStartTs: 2824568
I0417 22:15:34.161753 3550 draft.go:931] Found 2764 old transactions. Acting to abort them.
I0417 22:15:34.161777 3550 draft.go:934] abortOldTransactions for 2764 txns. Error: No connection exists