Review Request: Temp fix for the graph size limitation
Martin Klapetek
martin.klapetek at gmail.com
Wed Nov 21 07:45:59 UTC 2012
> On Nov. 21, 2012, 7:41 a.m., Vishesh Handa wrote:
> > nepomuk-storage.cpp, line 893
> > <http://git.reviewboard.kde.org/r/107393/diff/2/?file=95615#file95615line893>
> >
> > This is not going to work. The problem is that m_graph is a graph, which can be represented as a list.
> >
> > If you're splitting the graph, then you'll need to split it in a way such that both the new graphs are completely independent (no edges). Otherwise we will get errors.
> >
> > How about just decreasing the timeout for now. I don't think this is something we can fix over here. I'll have to fix it in the storeResources code.
Yeah, I was worried that would break the graph :/ Alright, I'll try decreasing the timer limit then.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107393/#review22285
-----------------------------------------------------------
On Nov. 21, 2012, 6:59 a.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107393/
> -----------------------------------------------------------
>
> (Updated Nov. 21, 2012, 6:59 a.m.)
>
>
> Review request for Telepathy and Vishesh Handa.
>
>
> Description
> -------
>
> If we push too big graph into Nepomuk, it won't get stored because the generated sql is wayyyy to big for virtuoso to process. This is a quick fix/hack/workaround that splits the graph into smaller graphs (max 200 items) and stores these smaller graphs.
>
>
> Diffs
> -----
>
> nepomuk-storage.cpp 0ab6cba
>
> Diff: http://git.reviewboard.kde.org/r/107393/diff/
>
>
> Testing
> -------
>
> Successfully stored 400 contacts in Nepomuk (in overall graph size terms that's more than 600 items graph).
>
>
> Thanks,
>
> Martin Klapetek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20121121/884abc17/attachment-0001.html>
More information about the KDE-Telepathy
mailing list