Couldn't take snapshot

I’m using java client to do lots of mutation(not in bulk), and seeing folloing lots of errors in server log. What does that mean? It happans both on Dgraph 1.0.4 and 1.0.6
2018/06/27 18:38:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [531761]
2018/06/27 18:39:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [536604]
2018/06/27 18:39:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [541172]
2018/06/27 18:40:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [545635]
2018/06/27 18:40:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [550200]
2018/06/27 18:41:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [554400]
2018/06/27 18:41:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [558088]
2018/06/27 18:42:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [561907]
2018/06/27 18:42:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [565781]
2018/06/27 18:43:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [569051]
2018/06/27 18:43:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [572896]
2018/06/27 18:44:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [576140]
2018/06/27 18:44:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [579032]
2018/06/27 18:45:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [582014]
2018/06/27 18:45:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [585020]
2018/06/27 18:46:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [587796]
2018/06/27 18:46:34 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [590150]
2018/06/27 18:47:04 draft.go:929: Couldn’t take snapshot, txn watermark: [926], applied watermark: [592738]

Looks like you are not committing your mutations… Hard to say but that would be my guess.

Thanks for the reply. But it looks I had committed the transaction per client code…
Suppose the client failed to commit, the log message is still being printed after the client process is stopped, when how to handle the error? By the way, does that error mean there are 592738 mutations applied but only 926 committed?

And one more problem, after several hours the zero server crashed, no any info in log or dump file generated…

After I restart the zero server, the error log is fixed… But I still don’t know what happens/root cause.

2018/06/28 10:30:36 draft.go:948: Writing snapshot at index: 644730, applied mark: 644740

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.