LGTM. Thank you https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise/adaptor/DocIdPusher.java File src/com/google/enterprise/adaptor/DocIdPusher.java (right): https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise/adaptor/DocIdPusher.java#newcode146 src/com/google/enterprise/adaptor/DocIdPusher.java:146: */ change javadoc to say that ...
8 years, 12 months ago
(2015-04-25 18:55:29 UTC)
#4
Addressed comments from PJ and from Ondra. (Ondra, please take a look at the new ...
8 years, 11 months ago
(2015-04-27 22:09:22 UTC)
#6
Addressed comments from PJ and from Ondra. (Ondra, please take a look at the
new log message.)
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
File src/com/google/enterprise/adaptor/DocIdPusher.java (right):
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
src/com/google/enterprise/adaptor/DocIdPusher.java:146: */
On 2015/04/25 18:55:28, pjo wrote:
> change javadoc to say that push is incremental and refer to new decl
Done.
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
src/com/google/enterprise/adaptor/DocIdPusher.java:166: */
On 2015/04/25 18:55:28, pjo wrote:
> change javadoc to say that push is incremental and refer to new decl
Done.
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
src/com/google/enterprise/adaptor/DocIdPusher.java:221: * the groups specified
in <code>defs</code>.
On 2015/04/25 18:55:28, pjo wrote:
> copy param javadoc from above decl.
Done.
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
File src/com/google/enterprise/adaptor/DocIdSender.java (right):
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
src/com/google/enterprise/adaptor/DocIdSender.java:294: // all groups from the
given data source), we must do it in a single "batch"
On 2015/04/25 18:55:29, pjo wrote:
> give the reason: because otherwise a failure in later batch would mean
> incomplete state without ability to backout. so one batch in order to make
sure
> all or nothing.
Done.
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
src/com/google/enterprise/adaptor/DocIdSender.java:295: final int max =
incremental ? config.getFeedMaxUrls() : defs.size();
On 2015/04/27 06:22:27, ondrejnovak wrote:
> Building the group XML is a very memory hungry operation, can you log here
>
> 1. that we are doing non-incremental group push
> 2. the value of defs.size()
>
> , so that it's among the last log lines before we run out of memory
Done. I was considering adding instructions on what-to-do-upon-an-OOM here, but
both John Felton and PJ felt this should not occur every time we try this
operation. Please let me know if you are OK with the log message as is.
(Originally, I was going to put this message (about needing lots of memory) in
the AD Adaptor, but it's also possible for the SharePoint Adaptor to run out of
memory here, so this is the better place for it.
Just a ping -- I'm hoping to submit this today so that I can start ...
8 years, 11 months ago
(2015-04-28 16:29:48 UTC)
#7
Just a ping -- I'm hoping to submit this today so that I can start on the
AD side of this.
-- Marc
On Mon, Apr 27, 2015 at 3:09 PM, <myk@google.com> wrote:
> Addressed comments from PJ and from Ondra. (Ondra, please take a look
> at the new log message.)
>
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> File src/com/google/enterprise/adaptor/DocIdPusher.java (right):
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> src/com/google/enterprise/adaptor/DocIdPusher.java:146: */
> On 2015/04/25 18:55:28, pjo wrote:
>
>> change javadoc to say that push is incremental and refer to new decl
>>
>
> Done.
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> src/com/google/enterprise/adaptor/DocIdPusher.java:166: */
> On 2015/04/25 18:55:28, pjo wrote:
>
>> change javadoc to say that push is incremental and refer to new decl
>>
>
> Done.
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> src/com/google/enterprise/adaptor/DocIdPusher.java:221: * the groups
> specified in <code>defs</code>.
> On 2015/04/25 18:55:28, pjo wrote:
>
>> copy param javadoc from above decl.
>>
>
> Done.
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> File src/com/google/enterprise/adaptor/DocIdSender.java (right):
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> src/com/google/enterprise/adaptor/DocIdSender.java:294: // all groups
> from the given data source), we must do it in a single "batch"
> On 2015/04/25 18:55:29, pjo wrote:
>
>> give the reason: because otherwise a failure in later batch would mean
>> incomplete state without ability to backout. so one batch in order to
>>
> make sure
>
>> all or nothing.
>>
>
> Done.
>
>
>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
> src/com/google/enterprise/adaptor/DocIdSender.java:295: final int max =
> incremental ? config.getFeedMaxUrls() : defs.size();
> On 2015/04/27 06:22:27, ondrejnovak wrote:
>
>> Building the group XML is a very memory hungry operation, can you log
>>
> here
>
> 1. that we are doing non-incremental group push
>> 2. the value of defs.size()
>>
>
> , so that it's among the last log lines before we run out of memory
>>
>
> Done. I was considering adding instructions on what-to-do-upon-an-OOM
> here, but both John Felton and PJ felt this should not occur every time
> we try this operation. Please let me know if you are OK with the log
> message as is. (Originally, I was going to put this message (about
> needing lots of memory) in the AD Adaptor, but it's also possible for
> the SharePoint Adaptor to run out of memory here, so this is the better
> place for it.
>
> https://codereview.appspot.com/222480044/
>
Could you add the data source name in the message. Otherwise it looks good Dne ...
8 years, 11 months ago
(2015-04-28 21:38:41 UTC)
#8
Could you add the data source name in the message. Otherwise it looks good
Dne 28. 4. 2015 5:29 PM napsal uživatel "Marc Kriguer" <myk@google.com>:
> Just a ping -- I'm hoping to submit this today so that I can start on the
> AD side of this.
> -- Marc
>
> On Mon, Apr 27, 2015 at 3:09 PM, <myk@google.com> wrote:
>
>> Addressed comments from PJ and from Ondra. (Ondra, please take a look
>> at the new log message.)
>>
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> File src/com/google/enterprise/adaptor/DocIdPusher.java (right):
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> src/com/google/enterprise/adaptor/DocIdPusher.java:146: */
>> On 2015/04/25 18:55:28, pjo wrote:
>>
>>> change javadoc to say that push is incremental and refer to new decl
>>>
>>
>> Done.
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> src/com/google/enterprise/adaptor/DocIdPusher.java:166: */
>> On 2015/04/25 18:55:28, pjo wrote:
>>
>>> change javadoc to say that push is incremental and refer to new decl
>>>
>>
>> Done.
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> src/com/google/enterprise/adaptor/DocIdPusher.java:221: * the groups
>> specified in <code>defs</code>.
>> On 2015/04/25 18:55:28, pjo wrote:
>>
>>> copy param javadoc from above decl.
>>>
>>
>> Done.
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> File src/com/google/enterprise/adaptor/DocIdSender.java (right):
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> src/com/google/enterprise/adaptor/DocIdSender.java:294: // all groups
>> from the given data source), we must do it in a single "batch"
>> On 2015/04/25 18:55:29, pjo wrote:
>>
>>> give the reason: because otherwise a failure in later batch would mean
>>> incomplete state without ability to backout. so one batch in order to
>>>
>> make sure
>>
>>> all or nothing.
>>>
>>
>> Done.
>>
>>
>>
https://codereview.appspot.com/222480044/diff/20001/src/com/google/enterprise...
>> src/com/google/enterprise/adaptor/DocIdSender.java:295: final int max =
>> incremental ? config.getFeedMaxUrls() : defs.size();
>> On 2015/04/27 06:22:27, ondrejnovak wrote:
>>
>>> Building the group XML is a very memory hungry operation, can you log
>>>
>> here
>>
>> 1. that we are doing non-incremental group push
>>> 2. the value of defs.size()
>>>
>>
>> , so that it's among the last log lines before we run out of memory
>>>
>>
>> Done. I was considering adding instructions on what-to-do-upon-an-OOM
>> here, but both John Felton and PJ felt this should not occur every time
>> we try this operation. Please let me know if you are OK with the log
>> message as is. (Originally, I was going to put this message (about
>> needing lots of memory) in the AD Adaptor, but it's also possible for
>> the SharePoint Adaptor to run out of memory here, so this is the better
>> place for it.
>>
>> https://codereview.appspot.com/222480044/
>>
>
>
Issue 222480044: Add support for non-incremental groups push.
(Closed)
Created 8 years, 12 months ago by myk
Modified 8 years, 11 months ago
Reviewers: pjo, ondrejnovak
Base URL:
Comments: 26