# Ludicrous mode doesn't delete edges with S \* \* deletion

**URL:** <https://discuss.dgraph.io/t/ludicrous-mode-doesnt-delete-edges-with-s-deletion/11052>\
**Category:** Dgraph\
**Tags:** dgraph, status:accepted, kind:bug, ticket:created\
**Created:** [October 21, 2020, 1:30am UTC](https://discuss.dgraph.io/t/ludicrous-mode-doesnt-delete-edges-with-s-deletion/11052 "2020-10-21T01:30:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmai](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/dmai/32/1254_2.png) [@dmai](https://discuss.dgraph.io/u/dmai)\
**Post date:** [October 21, 2020, 1:30am UTC](https://discuss.dgraph.io/t/ludicrous-mode-doesnt-delete-edges-with-s-deletion/11052/1 "2020-10-21T01:30:23Z")

</div>

### What version of Dgraph are you using?

Dgraph master

```nohighlight
Dgraph version : v20.11.0-g3ed726fca
Dgraph codename : unnamed-mod
Dgraph SHA-256 : f93da214a4ee7026f20916bd567712bf1e89c6a6ca086396bcf4f421046c72da
Commit SHA-1 : 3ed726fca
Commit timestamp : 2020-10-20 21:08:29 +0530
Branch : master
Go version : go1.14.4
jemalloc enabled : true

```

### Have you tried reproducing the issue with the latest release?

Yes. Reproducible in

- v20.07.2-rc1
- v20.03.6-rc1
- master (3ed726fca)

(steps don’t work in v20.07.1 or v20.03.5).

### What is the hardware spec (RAM, OS)?

64 GB Ubuntu Linux

### Steps to reproduce the issue (command/config used to run Dgraph).

1. Run Dgraph with ludicrous mode enabled.

2. Set schema for type:

3. Insert a node with the type:

4. Query for the node using its uid:

5. Do an `S * *` deletion:

6. Run the same query in Step 4. The response that is returned is:

### Expected behaviour and actual result.

The expected result is an empty query response. But, only `dgraph.type` was deleted.

When ludicrous mode is turned off, `S * *` deletion works as expected.

* * *

Note about v20.07.1:

In v20.07.1, when running the `S * *` deletion in Step 5, I get this query error back:

```auto
Txn Context is nil: While adding pb.edges: readTs: 0 less than minTs: 7 for key: \"\\x00\\x00\\vdgraph.type\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\"

```

---

<div class="post-metadata">

**Author:** ![porsche](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/porsche/32/9579_2.png) [@porsche](https://discuss.dgraph.io/u/porsche)\
**Post date:** [January 13, 2022, 11:00pm UTC](https://discuss.dgraph.io/t/ludicrous-mode-doesnt-delete-edges-with-s-deletion/11052/3 "2022-01-13T23:00:15Z")

</div>

Is this still an issue?

I tried S \* \* delete mutation using cloud Ratel, it seems to have succeeded but object wasn’t deleted. Below are two command variants I tried.

- Variant 1

```auto
  {
   delete {
  		<0x7aec3d502> * * .
   }
}

```

- Variant 2

```auto
{
   delete {
  		<0x7aec3d502> <Tcode.uid> * .
   }
}

```

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [January 13, 2022, 11:28pm UTC](https://discuss.dgraph.io/t/ludicrous-mode-doesnt-delete-edges-with-s-deletion/11052/4 "2022-01-13T23:28:41Z")

</div>

The Ludicrous mode was discontinued in the latests versions. I think late 2021, this post is from 2020.
