Report a Dgraph Bug
What version of Dgraph are you using?
Dgraph Version
$ dgraph version
# dgraph version
[Decoder]: Using assembly version of decoder
Page Size: 4096
Dgraph version : v20.11.2
Dgraph codename : tchalla-2
Dgraph SHA-256 : 0153cb8d3941ad5ad107e395b347e8d930a0b4ead6f4524521f7a525a9699167
Commit SHA-1 : 94f3a0430
Commit timestamp : 2021-02-23 13:07:17 +0530
Branch : HEAD
Go version : go1.15.5
jemalloc enabled : true
Have you tried reproducing the issue with the latest release?
no
What is the hardware spec (RAM, OS)?
k8s - 1alpha(no ha) 3zero
cpu: 7
memory: 25Gi (limit) 100Mi (request)
Steps to reproduce the issue (command/config used to run Dgraph).
I am not sure what is causing the issue - just asking why this log is being spammed:
E0420 15:13:14.669162 20 log.go:32] Key: [0 0 14 116 101 108 101 109 101 116 114 121 46 110 97 109 101 2 10 105 99 97], Version : 52656231, meta: 2, userMeta: 4 valuePointer: {Fid:785 Len:2704 Offset:927509059}
E0420 15:13:14.669167 20 log.go:32] Key: [0 0 14 116 101 108 101 109 101 116 114 121 46 110 97 109 101 2 10 105 99 97], Version : 52656207, meta: 2, userMeta: 4 valuePointer: {Fid:785 Len:5188 Offset:927502381}
E0420 15:13:14.669172 20 log.go:32] Key: [0 0 14 116 101 108 101 109 101 116 114 121 46 110 97 109 101 2 10 105 99 97], Version : 52656203, meta: 2, userMeta: 4 valuePointer: {Fid:785 Len:1624 Offset:927500757}
....
As you can see from the timestamp its many times a second and fills my entire log in k8s. The system is processing extremely slowly and is pegging its 7c cpu. It is also being OOMkilled every few hours, here is the last 6h of memory for the one alpha: (each color is after a oomkill)
What causes that message to be printed? I could not find it in the dgraph code base (though there is not much to go on in the message)