You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seek for bars like mpb (sounds like brasilian music LOL) but that it can generate a clean output. All projects with bars generate many lines (per second). I'm using | & tee -a bartest.txt to test.
go run main.go |& tee -a bartest.txt
I wonder if it would be possible to combine the best of both worlds. Bar + a clean output.
The program also issues errors while continuing the process. It would be interesting to display the errors while the progress bar maintains its rhythm. And the output also collects the errors.
At the end of the process if is either fatal error, cancellation, SIGTERM or something else. The program still generates a clean output of what happened.
All this Would it be possible?
This would be an example of the current output
2018/07/29 22:31:59 run.go:337: Creating temp client directory at /var/folders/vb/l72zg91129q5wyqygw59cr2h0000gn/T/x236306353
Processing 21million.schema
2018/07/29 22:32:00 run.go:354: Processed schema file
Processing 1million.rdf.gz
Total Txns done: 0 RDFs per second: 0 Time Elapsed: 2s, Aborts: 0
Total Txns done: 0 RDFs per second: 0 Time Elapsed: 4s, Aborts: 0
Total Txns done: 0 RDFs per second: 0 Time Elapsed: 6s, Aborts: 0
Total Txns done: 0 RDFs per second: 0 Time Elapsed: 8s, Aborts: 0
Total Txns done: 323 RDFs per second: 1564 Time Elapsed: 3m26s, Aborts: 0
2018/07/29 22:35:27 batch.go:125: Error while mutating Predicate is being moved, please retry later
Total Txns done: 327 RDFs per second: 1568 Time Elapsed: 3m28s, Aborts: 1
2018/07/29 22:35:28 batch.go:125: Error while mutating Predicate is being moved, please retry later
2018/07/29 22:35:28 batch.go:125: Error while mutating Predicate is being moved, please retry later
2018/07/29 22:35:28 batch.go:125: Error while mutating Predicate is being moved, please retry later
It displays transactions, time and possible aborts.
The text was updated successfully, but these errors were encountered:
Hello,
OBS. I am extremely new with Golang.
I'm looking for a solution to an idea, I want to improve the output of this program:
https://github.com/dgraph-io/dgraph/tree/master/dgraph/cmd/live
I seek for bars like mpb (sounds like brasilian music LOL) but that it can generate a clean output. All projects with bars generate many lines (per second). I'm using | & tee -a bartest.txt to test.
go run main.go |& tee -a bartest.txt
I wonder if it would be possible to combine the best of both worlds. Bar + a clean output.
The program also issues errors while continuing the process. It would be interesting to display the errors while the progress bar maintains its rhythm. And the output also collects the errors.
At the end of the process if is either fatal error, cancellation, SIGTERM or something else. The program still generates a clean output of what happened.
All this Would it be possible?
This would be an example of the current output
It displays transactions, time and possible aborts.
The text was updated successfully, but these errors were encountered: