Skip to content

cache mountpoints in the db - #20768

Merged
DeepDiver1975 merged 10 commits into
masterfrom
mount-cache
Jan 22, 2016
Merged

DeepDiver1975 merged 10 commits into
masterfrom
mount-cache

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor

cc @nickvergessen @PVince81 @DeepDiver1975 

@icewind1991 icewind1991 added this to the 9.0-current milestone Nov 26, 2015
@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @butonic, @rullzer and @LukasReschke to be potential reviewers

@PVince81

Copy link
Copy Markdown
Contributor

Are we really caching in the DB or is it a permanent store ? I don't want to make the same mistake like with oc_filecache where people believe it's a cache when it's not 😄

Comment thread db_structure.xml Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is that the file id ?

Maybe add a comment with "// foreign key: oc_filecache.fileid"

@PVince81

Copy link
Copy Markdown
Contributor

@Xenopathic check this out, you might like it too 😄 (WIP)

@PVince81

Copy link
Copy Markdown
Contributor

Thanks a lot @icewind1991

@PVince81

Copy link
Copy Markdown
Contributor

Ref #15166

@icewind1991

Copy link
Copy Markdown
Contributor Author

Are we really caching in the DB or is it a permanent store ? I don't want to make the same mistake like with oc_filecache where people believe it's a cache when it's not

I think 'cache' is the correct name since it's calculated from whatever the mount providers give us

@icewind1991
icewind1991 force-pushed the mount-cache branch 3 times, most recently from 36476f3 to cfe56a0 Compare November 30, 2015 15:37
@icewind1991

Copy link
Copy Markdown
Contributor Author

Now actually working and with tests

@icewind1991 icewind1991 changed the title [WIP] cache mountpoints in the db cache mountpoints in the db Nov 30, 2015
@icewind1991

Copy link
Copy Markdown
Contributor Author

@nickvergessen @PVince81 please review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why not just also registerMounts ? (I don't mind, just asking)

@icewind1991

Copy link
Copy Markdown
Contributor Author

Let's do this separately then

Would prefer that yes

@PVince81

Copy link
Copy Markdown
Contributor

Changing applicable removes the entry now 👍

@PVince81

Copy link
Copy Markdown
Contributor

Second reviewer ? @rullzer @nickvergessen @DeepDiver1975 @Xenopathic

@PVince81

Copy link
Copy Markdown
Contributor

@nickvergessen mind doing the second review ?

@PVince81

Copy link
Copy Markdown
Contributor

@Xenopathic second review ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@icewind1991 follow up pr on this one - I assume

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes

@PVince81

Copy link
Copy Markdown
Contributor

@DeepDiver1975 can we merge this then ?

@DeepDiver1975

Copy link
Copy Markdown
Contributor

👍

DeepDiver1975 added a commit that referenced this pull request Jan 22, 2016
@DeepDiver1975
DeepDiver1975 merged commit 1410120 into master Jan 22, 2016
@DeepDiver1975
DeepDiver1975 deleted the mount-cache branch January 22, 2016 10:01
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants