-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add retry for reconcile error #232
Conversation
@labuladong:Thanks for your contribution. For this PR, do we need to update docs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 259 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
176 | 5 | 78 | 0 |
Click to see the invalid file list
- pkg/utils/event_source.go
- pkg/utils/event_source_test.go
- pkg/utils/retry.go
- pkg/utils/retry_test.go
- pkg/utils/suit_test.go
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 259 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
180 | 1 | 78 | 0 |
Click to see the invalid file list
- api/v1alpha1/zz_generated.deepcopy.go
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
f8b927d
to
3a44039
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 261 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
169 | 14 | 78 | 0 |
Click to see the invalid file list
- api/v1alpha1/zz_generated.deepcopy.go
- config/crd/bases/resource.streamnative.io_pulsarconnections.yaml
- config/crd/bases/resource.streamnative.io_pulsarfunctions.yaml
- config/crd/bases/resource.streamnative.io_pulsargeoreplications.yaml
- config/crd/bases/resource.streamnative.io_pulsarnamespaces.yaml
- config/crd/bases/resource.streamnative.io_pulsarpackages.yaml
- config/crd/bases/resource.streamnative.io_pulsarpermissions.yaml
- config/crd/bases/resource.streamnative.io_pulsarsinks.yaml
- config/crd/bases/resource.streamnative.io_pulsarsources.yaml
- config/crd/bases/resource.streamnative.io_pulsartenants.yaml
- config/crd/bases/resource.streamnative.io_pulsartopics.yaml
- config/rbac/role.yaml
- go.work
- go.work.sum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 261 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
169 | 14 | 78 | 0 |
Click to see the invalid file list
- api/v1alpha1/zz_generated.deepcopy.go
- config/crd/bases/resource.streamnative.io_pulsarconnections.yaml
- config/crd/bases/resource.streamnative.io_pulsarfunctions.yaml
- config/crd/bases/resource.streamnative.io_pulsargeoreplications.yaml
- config/crd/bases/resource.streamnative.io_pulsarnamespaces.yaml
- config/crd/bases/resource.streamnative.io_pulsarpackages.yaml
- config/crd/bases/resource.streamnative.io_pulsarpermissions.yaml
- config/crd/bases/resource.streamnative.io_pulsarsinks.yaml
- config/crd/bases/resource.streamnative.io_pulsarsources.yaml
- config/crd/bases/resource.streamnative.io_pulsartenants.yaml
- config/crd/bases/resource.streamnative.io_pulsartopics.yaml
- config/rbac/role.yaml
- go.work
- go.work.sum
config/crd/bases/resource.streamnative.io_pulsarconnections.yaml
Outdated
Show resolved
Hide resolved
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
config/crd/bases/resource.streamnative.io_pulsargeoreplications.yaml
Outdated
Show resolved
Hide resolved
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--- | |
# Copyright 2024 StreamNative | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
--- |
3a44039
to
d6b1c45
Compare
Operator will only trigger reconciliation when there are k8s events. But for some temporary errors, it's better to have an exponential backoff policy.