Hey guys,
It’s been disheartening to see the way dgraph is being maintained and considering early adopters feedback. There are a couple of high importance issues, been reported for more than 30 days, are not even being considered in the upcoming releases.
https://github.com/dgraph-io/dgraph/issues/2221
https://github.com/dgraph-io/dgraph/issues/2326
https://github.com/dgraph-io/dgraph/issues/2134
Because of these issues, users have to end up writing a shit ton of code around synchronising the writes and reads! A small example is, how multiple writers need to write on dgraph 1.0.4
// Method to perform mutation
func (d *Client) mutate(ctx context.Context, m *api.Mutation) error {
d.lock.Lock()
defer d.lock.Unlock()
retry := 0
var err error
for retry < maxRetries {
_, err = d.client.NewTxn().Mutate(ctx, m)
if err != nil && err == y.ErrAborted {
<-time.After(time.Second)
// Retrying
retry++
continue
}
return nil
}
return err
}
Can anyone from #user:dgraph team update about status of any of these issues?