Skip to content

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Dec 6, 2018

The only explanation I can see for the None.get as posted here is invalid bucket keys being returned by the getMultipleKeys. This is troubling and we should look into the fossildb contents. However, since wK can show volume data for these tracings, the download (+copy to my account) may be fixed when we just skip all the invalid keys.

URL of deployed dev instance (used for testing):

Steps to test:

Issues:


@fm3
Copy link
Member Author

fm3 commented Dec 6, 2018

I believe that this happens for tracings edited during the fossildb overload. It does not happen for my new tracings and also not for my old tracings.

@fm3 fm3 requested a review from youri-k December 6, 2018 23:40
@fm3 fm3 added the urgent label Dec 6, 2018
Copy link
Contributor

@jstriebel jstriebel left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@fm3 fm3 merged commit 4cd9e52 into master Dec 7, 2018
@fm3 fm3 deleted the volume-skip-invalid-buckets branch December 7, 2018 08:45
def bucketStreamWithVersion(dataLayer: VolumeTracingLayer, resolution: Int, version: Option[Long]): Iterator[(BucketPosition, Array[Byte], Long)] = {
val key = buildKeyPrefix(dataLayer.name, resolution)
new VersionedBucketIterator(key, volumeDataStore, version)
new VersionedBucketIterator(key, volumeDataStore, version).flatMap(item => item)
Copy link
Contributor

Choose a reason for hiding this comment

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

.flatten should do the same thing

Copy link
Contributor

Choose a reason for hiding this comment

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

But I am apparently to late to the party :(

jstriebel added a commit that referenced this pull request Dec 7, 2018
jfrohnhofen pushed a commit that referenced this pull request Dec 7, 2018
jfrohnhofen added a commit that referenced this pull request Dec 7, 2018
* master:
  Revert "Volume Tracing Stream: Skip invalid buckets (#3541)" (#3545)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants