Dgraph v1.0.6 is out. It contains many bug fixes since v1.0.5. It is highly recommended to upgrade asap. Let us know your experiences with v1.0.6 in this thread.
Warning: Due to a change in Raft storage format, this upgrade would require you to export and re-import your data, clearing out all the WAL (zw in Zero and w in Server) directories.
Please take note of this. If you try to restart your servers with this upgrade with data in WAL from v1.0.5, they would fail with this stack trace:
@mrjn i found a situation:
i set replica=3, badger.vlog:disk
i have three dgraph server, i insert data to one server, and i can get results from this server, but i cannot get any results and i found p dir has not data in another two server,
why?
it seems that group members (id=2, id=3) dont have lastUpdate.
might be i just need to wait.
Are you using Docker, @shanghai-Jerry? I can’t replicate this issue at my end, but I can give you an image for you to try, and see if that solves this issue at your end.
@shanghai-Jerry and others, I’ve downgraded a library that we are using to the same version as we had before and updated the binaries for v1.0.6. Can you retry and check if you still see this issue?
ok, i will retry. but when i use p directory created by bulk loader out directory to restart server, i got too many WARNs like:
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
2018/06/30 13:07:06 node.go:402: WARN: A tick missed to fire. Node blocks too long!
can you tell me what happened?
when i used v1.0.5, it’s normal, no WARNs
i used mutate operation declared in api.proto, connected server with port 9080.
first, i started with empty directories. and then when i saw these MsgVote logs, i restarted with already exist directories. i found one server was getting snapshot from another server from p directory.
final question, after about one hour , i saw these MsgVote logs.
Added this warning in v1.0.6. I’m seeing some issues with replication. Working on solving those, and would be part of the next release.
Due to some issues with application of replication logs, we recommend only using --replicas=1 for this release. We’re working on solving these issues for the next release.
Well, if you do not need any of the features of version 1.0.6 or anything else, you can stick to version 1.0.5 until there is a final RC to next release.