Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5525)

Issue 88040049: FSA Change Exceptions generated in FsAdaptor.init() to new StartupExceptions. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by Brett
Modified:
9 years, 11 months ago
Reviewers:
pjo, mifern
CC:
connector-cr_google.com
Visibility:
Public.

Description

This forces an abort of the adaptor startup, rather than allowing it to be called again with backoff logic.

Patch Set 1 #

Patch Set 2 : Switch to using the new StartupExceptions. #

Total comments: 12

Patch Set 3 : PJ and Miguel's feedback #

Total comments: 2

Patch Set 4 : Change error message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -13 lines) Patch
M src/com/google/enterprise/adaptor/fs/FsAdaptor.java View 1 2 3 6 chunks +12 lines, -9 lines 0 comments Download
M test/com/google/enterprise/adaptor/fs/FsAdaptorTest.java View 1 2 5 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 20
Brett
10 years ago (2014-04-16 20:24:36 UTC) #1
pjo
Just want to make sure that you took this out for a spin and that ...
10 years ago (2014-04-16 20:48:14 UTC) #2
brett.michael.johnson_gmail.com
I tried it with empty root path. Unfortunately, IllegalStateException also retries. Looking at Application.daemonStart(), it ...
10 years ago (2014-04-16 21:07:51 UTC) #3
pjo
A few ideas are going through my mind. How about we add `class Abort extends ...
10 years ago (2014-04-16 21:18:36 UTC) #4
pjo
Added task to backlog for next iteration to add something along the lines of "InvalidSetupException" ...
10 years ago (2014-04-16 21:57:28 UTC) #5
brett.michael.johnson_gmail.com
Shall I leave this CL open, with an impending patch that will throw InvalidSetupException? — ...
10 years ago (2014-04-16 22:10:35 UTC) #6
pjo
Whatever is more convenient for you. LGTM. Thank you, PJ - technology's compounding interest - ...
10 years ago (2014-04-16 22:34:37 UTC) #7
Brett
Switch to using the new StartupExceptions.
9 years, 11 months ago (2014-05-07 23:07:52 UTC) #8
pjo
Thank you. A couple of comments. Miguel, please also review this CL. Thank you, PJ ...
9 years, 11 months ago (2014-05-08 02:12:15 UTC) #9
mifern
I'm a little confused about the flow for Adaptor.init when there is an error. Right ...
9 years, 11 months ago (2014-05-08 04:18:36 UTC) #10
pjo
Hi Miguel, All the places which are potentailly fixable without config change shouldn't be using ...
9 years, 11 months ago (2014-05-08 04:24:55 UTC) #11
mifern
https://codereview.appspot.com/88040049/diff/20001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java File src/com/google/enterprise/adaptor/fs/FsAdaptor.java (right): https://codereview.appspot.com/88040049/diff/20001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java#newcode247 src/com/google/enterprise/adaptor/fs/FsAdaptor.java:247: throw new StartupException("Unable to list the contents of " ...
9 years, 11 months ago (2014-05-08 14:11:46 UTC) #12
Brett
https://codereview.appspot.com/88040049/diff/20001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java File src/com/google/enterprise/adaptor/fs/FsAdaptor.java (right): https://codereview.appspot.com/88040049/diff/20001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java#newcode247 src/com/google/enterprise/adaptor/fs/FsAdaptor.java:247: throw new StartupException("Unable to list the contents of " ...
9 years, 11 months ago (2014-05-10 00:13:27 UTC) #13
Brett
PJ and Miguel's feedback
9 years, 11 months ago (2014-05-10 00:14:36 UTC) #14
pjo
Thank you. https://codereview.appspot.com/88040049/diff/40001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java File src/com/google/enterprise/adaptor/fs/FsAdaptor.java (right): https://codereview.appspot.com/88040049/diff/40001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java#newcode240 src/com/google/enterprise/adaptor/fs/FsAdaptor.java:240: + "shared."); should this section also say ...
9 years, 11 months ago (2014-05-10 01:52:46 UTC) #15
mifern
LGTM, wait for PJ's feedback. https://codereview.appspot.com/88040049/diff/40001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java File src/com/google/enterprise/adaptor/fs/FsAdaptor.java (right): https://codereview.appspot.com/88040049/diff/40001/src/com/google/enterprise/adaptor/fs/FsAdaptor.java#newcode270 src/com/google/enterprise/adaptor/fs/FsAdaptor.java:270: throw new InvalidConfigurationException("The path ...
9 years, 11 months ago (2014-05-11 04:15:16 UTC) #16
pjo
> LGTM, wait for PJ's feedback. Already sent question about server down. - technology's compounding ...
9 years, 11 months ago (2014-05-12 18:55:14 UTC) #17
Brett
Change error message.
9 years, 11 months ago (2014-05-13 00:46:04 UTC) #18
pjo
LGTM. Thank you
9 years, 11 months ago (2014-05-13 01:36:20 UTC) #19
Brett
9 years, 11 months ago (2014-05-13 22:19:13 UTC) #20
Committed 13 May 2014 to Filesystem Adaptor
To https://code.google.com/p/plexi.fs/
   3148d05..d8cb37a  master -> master
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b