Skip to content

Commit

Permalink
Update user manual
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Dai <[email protected]>
  • Loading branch information
dai-chen committed May 17, 2024
1 parent 2990adf commit 2864b28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,9 @@ In the index mapping, the `_meta` and `properties`field stores meta and schema i
- `spark.flint.index.hybridscan.enabled`: default is false.
- `spark.flint.index.checkpoint.mandatory`: default is true.
- `spark.datasource.flint.socket_timeout_millis`: default value is 60000.
- `spark.flint.monitor.initialDelaySeconds`: Initial delay in seconds before starting the monitoring task. Default value is 15.
- `spark.flint.monitor.intervalSeconds`: Interval in seconds for scheduling the monitoring task. Default value is 60.
- `spark.flint.monitor.maxErrorCount`: Maximum number of consecutive errors allowed before stopping the monitoring task. Default value is 5.

#### Data Type Mapping

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ class FlintSparkIndexMonitorITSuite extends OpenSearchTransactionSuite with Matc
waitForMonitorTaskRun()

// Both monitor task and streaming job should stop after 10 times
10 times { (_, _) => {} }
10 times { (_, _) =>
{
// assert nothing. just wait enough times of task execution
}
}

task.isCancelled shouldBe true
spark.streams.active.exists(_.name == testFlintIndex) shouldBe false
Expand Down

0 comments on commit 2864b28

Please sign in to comment.