Skip to content

Commit

Permalink
fix: memory leak inside session windower (#1445)
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 authored Jan 11, 2024
1 parent 4306357 commit 85e76c7
Show file tree
Hide file tree
Showing 30 changed files with 785 additions and 493 deletions.
4 changes: 4 additions & 0 deletions api/json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -17819,6 +17819,10 @@
"duration": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration"
},
"jitter": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration",
"description": "Jitter is the jitter for the message generation, used to simulate out of order messages for example if the jitter is 10s, then the message's event time will be delayed by a random time between 0 and 10s which will result in the message being out of order by 0 to 10s"
},
"keyCount": {
"description": "KeyCount is the number of unique keys in the payload",
"format": "int32",
Expand Down
4 changes: 4 additions & 0 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -17824,6 +17824,10 @@
"duration": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration"
},
"jitter": {
"description": "Jitter is the jitter for the message generation, used to simulate out of order messages for example if the jitter is 10s, then the message's event time will be delayed by a random time between 0 and 10s which will result in the message being out of order by 0 to 10s",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration"
},
"keyCount": {
"description": "KeyCount is the number of unique keys in the payload",
"type": "integer",
Expand Down
3 changes: 3 additions & 0 deletions config/base/crds/full/numaflow.numaproj.io_pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6928,6 +6928,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down
3 changes: 3 additions & 0 deletions config/base/crds/full/numaflow.numaproj.io_vertices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2766,6 +2766,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down
6 changes: 6 additions & 0 deletions config/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9457,6 +9457,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down Expand Up @@ -14056,6 +14059,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down
6 changes: 6 additions & 0 deletions config/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9457,6 +9457,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down Expand Up @@ -14056,6 +14059,9 @@ spec:
duration:
default: 1s
type: string
jitter:
default: 0s
type: string
keyCount:
format: int32
type: integer
Expand Down
18 changes: 18 additions & 0 deletions docs/APIs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,7 @@ Size of each generated message
<code>keyCount</code></br> <em> int32 </em>
</td>
<td>
<em>(Optional)</em>
<p>
KeyCount is the number of unique keys in the payload
</p>
Expand All @@ -1340,11 +1341,28 @@ KeyCount is the number of unique keys in the payload
<code>value</code></br> <em> uint64 </em>
</td>
<td>
<em>(Optional)</em>
<p>
Value is an optional uint64 value to be written in to the payload
</p>
</td>
</tr>
<tr>
<td>
<code>jitter</code></br> <em>
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
Kubernetes meta/v1.Duration </a> </em>
</td>
<td>
<em>(Optional)</em>
<p>
Jitter is the jitter for the message generation, used to simulate out of
order messages for example if the jitter is 10s, then the message’s
event time will be delayed by a random time between 0 and 10s which will
result in the message being out of order by 0 to 10s
</p>
</td>
</tr>
</tbody>
</table>
<h3 id="numaflow.numaproj.io/v1alpha1.GetDaemonDeploymentReq">
Expand Down
Loading

0 comments on commit 85e76c7

Please sign in to comment.