8000 Bug fix/debug rocksdb mapping error by jsteemann · Pull Request #11386 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@jsteemann
Copy link
Contributor

Scope & Purpose

Add error output (in maintainer mode only) when some certain assertions fails.
This prints the collections map of the RocksDB storage engine in case a collection is reinserted into it but the slot is already used for a different collection.

  • Bug-Fix for devel-branch (i.e. no need for backports?)

Testing & Verification

This change is a trivial rework / code cleanup without any test coverage.

http://172.16.10.101:8080/view/PR/job/arangodb-matrix-pr/9314/

@jsteemann jsteemann added this to the devel milestone Apr 4, 2020
@jsteemann jsteemann requested review from dhly-etc and markuspf April 4, 2020 00:13
@jsteemann
Copy link
Contributor Author

@jsteemann
Copy link
Contributor Author

@jsteemann
Copy link
Contributor Author

Tests blue

@markuspf
Copy link
Contributor
markuspf commented Apr 6, 2020

So for clarification: This only adds a debug log when the assertion will fail?

Was there any underlying bug identified? The assertion triggered in devel but not on 3.7-router leading me to suspect the RocksDB upgrade, but the two might of course be unrelated.

Copy link
Contributor
@markuspf markuspf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jsteemann
Copy link
Contributor Author

The log output will only be generated if the assertion will fail.
This does not fix any underlying bug, it is just a preparation for being able to debug it.

I don't think this is anyhow related to the RocksDB version upgrade. This mapping stuff is just ArangoDB-internal code and should not be affected by the RocksDB version we use.
Is the error reproducible? I have never seen it before.

@jsteemann jsteemann merged commit fde2613 into devel Apr 6, 2020
@jsteemann jsteemann deleted the bug-fix/debug-rocksdb-mapping-error branch April 6, 2020 06:46
ObiWahn added a commit that referenced this pull request Apr 6, 2020
…ture/utf-8-validation

* 'devel' of https://github.com/arangodb/arangodb:
  simplify register planning code, a bit (#11385)
  Bug fix/debug rocksdb mapping error (#11386)
markuspf pushed a commit that referenced this pull request Apr 6, 2020
* added default server settings struct

* added new file to cmakelist

* added server defaults to create graph api

* new api

* removed unused include

* compile community

* Bug fix/headers cleanup (#11391)

* Bug fix/debug rocksdb mapping error (#11386)

* simplify register planning code, a bit (#11385)

* Add Cluster/ServerDefaults.cpp to CMakeLists.txt

Co-authored-by: Jan <jsteemann@users.noreply.github.com>
Co-authored-by: Markus Pfeiffer <markus@arangodb.com>
mchacki added a commit that referenced this pull request Apr 21, 2020
* Added changelog entry stub

* Added dump/restore tests for satellite graphs (#11278)

* Feature/satellite graphs move singletons to dbserver (#11284)

* Fixed optimizer rules order, so singletons will be moved onto the DBServer after satellite graphs are scattered

* Reordered satellite optimizer rules

* added a missing check for replicationFactor equals satellite (string) (#11307)

* Parallel Gather Satellite Graphs (#11315)

* Parallel gather when using satellite traversals.

* Feature/satellite graphs extend graphsuite k shortest path (#11300)

* add weightAttribute support to our TestGraph environment

* added distances values to graphs

* added multiple shortest path tests to proto graphs

* added first k shortest path example to graph test suite

* fixed an assert, more testcases

* added smallCircle k shortest path tests

* added completeGraph k shortest path tests

* more cleanup, added bug in shortestpath check method, new tests

* one more k shortest for complete graph

* added k shortest path tests for easypath graph

* added k shortest path tests for advancedpath graph

* added k shortest path weight tests for advancedpath graph

* Small changes and clean up.

* Fixed tests for kShortestPaths to correctly test lengths.

* clean up.

* Fixed one test and clean up.

Co-authored-by: lamai93 <lars@arangodb.com>

* Exported isSatelliteNode and isUsedAsSatellite. (#11343)

* Feature/satellite graphs 2 modification creation tests (#11332)

* graph initial check, added new error

* collection graph check

* added parameter

* formatting, changed a methods signature

* applied new signature

* cleanup, removed not needed functions, moved back to private

* applied new signature

* cleanup, re-added const

* removed not needed method

* cleanup

* compile again

* cleanup

* cleanup, added rule, added error

* only add vertex if not already found in edges

* rm log

* extended test

* only do if needed

* comment

* Feature/satellite graphs 2 default values overhaul (#11382)

* added default server settings struct

* added new file to cmakelist

* added server defaults to create graph api

* new api

* removed unused include

* compile community

* Bug fix/headers cleanup (#11391)

* Bug fix/debug rocksdb mapping error (#11386)

* simplify register planning code, a bit (#11385)

* Add Cluster/ServerDefaults.cpp to CMakeLists.txt

Co-authored-by: Jan <jsteemann@users.noreply.github.com>
Co-authored-by: Markus Pfeiffer <markus@arangodb.com>

* Update CHANGELOG

* Fixed compile error through merge conflict

* Fix traversal test for k-shortest-paths

* remove merge fallout

* Fix merge fallout

* Merge fallout fixup

* Satellite-Graphs / Broken Sorted Gather (#11340)

* Added new optmizer rule to fix broken sorted gather when used together with satellite collections.

* Test for smart joins.

* Formatting.

* Added indexes to the inspected list.

* Cluster only tests.

* Fix jslint.

* Fixed graph nodes.

* Handled more node types and improved assertions

Co-authored-by: Tobias Gödderz <tobias@arangodb.com>
Co-authored-by: Michael Hackstein <michael@arangodb.com>

* Added waitForSatellite to IndexExecutor. (#11362)

* Added waitForSatellite to IndexExecutor.

* waitForSatellite for all graph nodes if required.

* Move waitForSatellite to createBlock.

* Merge fallout fixup and some moving code

* Merge crud.

* Community fix

Co-authored-by: Markus Pfeiffer <markus@arangodb.com>

Co-authored-by: Heiko <hkernbach@users.noreply.github.com>
Co-authored-by: lamai93 <lars@arangodb.com>
Co-authored-by: hkernbach <heiko.kernbach@gmail.com>
Co-authored-by: Markus Pfeiffer <markus@arangodb.com>
Co-authored-by: Jan <jsteemann@users.noreply.github.com>
Co-authored-by: Simran <Simran-B@users.noreply.github.com>
Co-authored-by: Michael Hackstein <michael@arangodb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0