# Concurrent writes?

**URL:** <https://discuss.dgraph.io/t/concurrent-writes/17541>\
**Category:** Badger\
**Created:** [July 18, 2022, 2:36am UTC](https://discuss.dgraph.io/t/concurrent-writes/17541 "2022-07-18T02:36:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotyara85](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/kotyara85/32/9895_2.png) [@kotyara85](https://discuss.dgraph.io/u/kotyara85)\
**Post date:** [July 18, 2022, 2:36am UTC](https://discuss.dgraph.io/t/concurrent-writes/17541/1 "2022-07-18T02:36:09Z")

</div>

Hello everyone,  
Does badger support tx crud operations while multiple goroutines access it?

Hitting this error. I’m using badger.NewTransaction(true)

Thanks

goroutine 187 [running]:  
runtime.throw({0x16526cc?, 0x1631d40?})  
/usr/local/Cellar/go/1.18.3/libexec/src/runtime/panic.go:992 +0x71 fp=0xc00c1a9a80 sp=0xc00c1a9a50 pc=0x10365b1  
runtime.mapaccess2\_faststr(0x15a8960?, 0xc000e943c0?, {0xc00c12de90, 0x27})  
/usr/local/Cellar/go/1.18.3/libexec/src/runtime/map\_faststr.go:117 +0x3d4 fp=0xc00c1a9ae8 sp=0xc00c1a9a80 pc=0x1014554  
[github.com/dgraph-io/badger/v3.(\*Txn).modify](http://github.com/dgraph-io/badger/v3.(*Txn).modify)(0xc00bf6a380, 0xc000e84360)  
/Users/kotyara85/Documents/app/vendor/github.com/dgraph-io/badger/v3/txn.go:401 +0x1eb fp=0xc00c1a9b60 sp=0xc00c1a9ae8 pc=0x14f404b

### What version of Go are you using (`go version`)?

```
$ go version
1.18
```

### What operating system are you using?

macos

### What version of Badger are you using?

v3.2103.2
