Skip to content

Skip _uid_ also in preTraverse#1354

Closed
pawanrawal wants to merge 1 commit intorelease/v0.8.1from
fix/recurse2
Closed

Skip _uid_ also in preTraverse#1354
pawanrawal wants to merge 1 commit intorelease/v0.8.1from
fix/recurse2

Conversation

@pawanrawal
Copy link
Copy Markdown
Contributor

@pawanrawal pawanrawal commented Aug 22, 2017

Fixes #1350

In recurse query with depth, sometimes we have children nodes which aren't processed when the depth is reached. In preTraverse we skip those children with (uidMatrix == nil). Somehow we weren't skipping _uid_ nodes and that caused a crash. We are skipping them now.


This change is Reviewable

@manishrjain
Copy link
Copy Markdown
Contributor

:lgtm:


Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@tzdybal
Copy link
Copy Markdown
Contributor

tzdybal commented Aug 22, 2017

:lgtm:


Reviewed 3 of 3 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@pawanrawal
Copy link
Copy Markdown
Contributor Author

Merged to master.

@pawanrawal pawanrawal closed this Aug 23, 2017
@pawanrawal pawanrawal deleted the fix/recurse2 branch October 4, 2017 00:34
jarifibrahim pushed a commit that referenced this pull request Jun 16, 2020
This commit brings the following changes from badger

c45d966 Fix assert in background compression and encryption. (#1366)
14386ac GC: Consider size of value while rewriting (#1357)
b2267c2 Restore: Account for value size as well (#1358)
b762832 Tests: Do not leave behind state goroutines (#1349)
056d859 Support disabling conflict detection (#1344)
fd89894 Compaction: Expired keys and delete markers are never purged (#1354)
543f353 Fix build on golang tip (#1355)
a7e239e StreamWriter: Close head writer (#1347)
da80eb9 Iterator: Always add key to txn.reads (#1328)
7e19cac Add immudb to the project list (#1341)
079f5ae DefaultOptions: Set KeepL0InMemory to false (#1345)
jarifibrahim pushed a commit that referenced this pull request Jun 17, 2020
This commit brings the following changes from badger
```
c45d966 Fix assert in background compression and encryption. (#1366)
14386ac GC: Consider size of value while rewriting (#1357)
b2267c2 Restore: Account for value size as well (#1358)
b762832 Tests: Do not leave behind state goroutines (#1349)
056d859 Support disabling conflict detection (#1344)
fd89894 Compaction: Expired keys and delete markers are never purged (#1354)
543f353 Fix build on golang tip (#1355)
a7e239e StreamWriter: Close head writer (#1347)
da80eb9 Iterator: Always add key to txn.reads (#1328)
7e19cac Add immudb to the project list (#1341)
079f5ae DefaultOptions: Set KeepL0InMemory to false (#1345)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants